justin = {
main feed
,
music
,
code
= {
cockos
,
reaper
,
wdl
,
ninjam
,
jsfx
,
more
}
,
askjf
,
pubkey
};
Ask Justin Frankel
No reasonable question unanswered since 2009!
Suggested topics: programming, music, sleep, coffee, etc.
Note: please do not ask questions about REAPER features, bugs or scheduling, use the
forums
instead.
Name:
Ask:
Human (enter yes):
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Question:
In JSFX when u have a hidden slider using the hyphen, and then you do a slidershow for this slider, thinking some users may unhide that slider and when they do, that slider must show in appropriate context. but then while keeping the slider hidden (-) and using the slidershow, the slidershow overides the hyphenated hidden slider and shows up on gui. Why?
Asked by slidershow (197.251.240.x) on December 3 2025, 4:32pm
Reply on December 3 2025, 6:52pm:
that's the point, you can make it hidden and then unhide it from code in response to UI.
Comments:
Posted by Slidershow (197.251.240.x) on December 4 2025, 2:30am:
I mean why doesn't the slidershow respect hidden sliders. I thought the slider should remain hidden regardless of the slidershow, and the slidershow should work only when the user unhides the slider??
Posted by
Justin
on December 4 2025, 2:45pm:
if the code calls slider_show(), it's assumed to be in response to the user, thus the user would be unhiding the slider. how else would the user unhide the slider?
Posted by Slidershow (102.176.101.x) on December 4 2025, 3:39pm:
Let me clarify my question. If slider5 is already hidden with hiphen, and i allow it to stay hidden by not removing hiphen, but i do slidershow for it that it should only show in slider4 mode 1. Then suddenly i realised the hidden slider shows up on gui in slider4 mode 1, but I thought that as long as the hiphen is still there, the slidershow shouldn't work, that it should work only when the hiphen has been removed. so right now the slidershow overides the hiphen command.
Posted by
Justin
on December 4 2025, 3:57pm:
you should call slider_show(slider5) with the parameter of whether or not you want it visible. that is all.
Posted by
Justin
on December 4 2025, 3:58pm:
the second parameter, that is -- slider_show(slider5,0) hides it, slider_show(slider5,1) shows it, etc.
Comment:
Your Name:
-- Site Owner's Name:
(for human-verification) Comment:
[
back to index
] | [
unreplied
] | [
replied
] | [
recent comments
] | [
all
]
Copyright 2026 Justin Frankel
.
|
RSS