Hi,
I was delighted to see the pressed and unpressed command group areas of ISwitch are working fine in 3.5. However I still have a problem with my Iswitches disabling themselves. They work fine in the zscript window (or Tutorial View, as it is named). But putting them in a subpalette will cause them to disable themselves the next time they are pressed, if another script has been activated.
Is it my syntax, which you can see below, that is causing the problem?
[ISwitch ,"Current Brush", Switch(5) ,"description", // have also used numbers instead of the variable Switch( ).
// Put Commands When Pressed Here
,
// Put Commands When Unpressed Here
, 0 , 1.0 ]
The solution so far has been to add an [If,…] statement at the end of my script that enables each switch one at a time.
Any ideas? I remember the script part of ZAppLink used switches, without any poblems.
Mark