- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Run radiobox using jsl
Hi,
Is there a way to run the radiobox using set?
Tried the following code but doesn't work
Names Default To Here( 1 );
New Window( "Example", r1 = Radio Box( {"Red", "Green", "Blue"},
das = r1 << get selected;
if(r1 == "Green",
Caption("Green"))
) );
r1 << set( 2, runscript(1) );
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: Run radiobox using jsl
Syntax is in Scripting Index and you can use Run Script
but you do have some mistakes in your script (you should use das instead of r1 in comparison)
Names Default To Here(1);
New Window("Example",
r1 = Radio Box({"Red", "Green", "Blue"},
das = r1 << get selected;
If(das == "Green",
Caption("Green")
);
)
);
r1 << set(2, runscript(1));
-Jarmo