February 6, 200224 yr Newbies Is there anybody who can help me give a hint how to solve this problem: Every time this button is pressed on a ceretain layout, a different script shall start to run., For example: first press runs script 1, next press runs script 2, next press runs script 3 and so on. When i leave the layout this button should be
February 6, 200224 yr Hi Jan, 1. First create a Global number field (flag). 2. Create a script for your button, If["Flag=""1"] Perform Script [sub-scripts,"1"] Set Field ["Flag","2"] Else If["Flag=""2"] Perform Script [sub-scripts,"2"] Set Field ["Flag","3"] Else ... and so on Be sure to set the "Flag" to "1" before you leave the layout. (put a "Set Field ["Flag","1"]" in the button that takes you out of the layout) zz
February 6, 200224 yr Author Newbies Thank you very very much ZUPERZZ for this elegant and easy solution.
Create an account or sign in to comment