Newbies pv63 Posted December 5, 2002 Newbies Share Posted December 5, 2002 I have a checkbox and a 3 radio buttons. I want to create a script that depending if the checkbox is marked or not and the radio button selection a different script is run. Link to comment Share on other sites More sharing options...
spragueg Posted December 5, 2002 Share Posted December 5, 2002 Scripts will only run in a few contexts Opening a document Closing a document Clicking a button Choosing a script from the script menu. So, to do what you are asking you must present the checkbox/radio buttons to the user, allow then to make a selection. Then have them click a button that runs a script that decides based on the values in the check boxes /radio buttons to run another script. Link to comment Share on other sites More sharing options...
paulmetzger Posted December 5, 2002 Share Posted December 5, 2002 spragueg is right about running the script. it either needs to be run manually from the scripts menu or attached to a button. however, pretty much anything can be a button, including the check box. In layout mode, right click it and select specify button... in there you can say what script you want to run. Remeber that a button or a checkbox is just a field... the value of the box(es) or the radio button is what goes in the field. Thusly you can use the IF/ELSE logic in scriptmaker to use the settings of radio buttons to control the flow of the script. Hope this helps. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7947 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now