MakaPakaTobyHannah Posted November 16, 2011 Report Share Posted November 16, 2011 I am calling up a multiple choice window. I've set up a default assignment of the "choice" variable within the multiple choice window so that, when the multiple choice window appears, a specific button is preselected (as the default); in other words, I assign a value to the choice variable (say "A") before the multiple choice window appears, causing the button by choice "A" to be preselected. Now, if I actually wish to make another choice, I can of course click on another multiple choice button, say button "B". What I am looking for is for the new choice to become the new default, so that, when I run the macro again, the preselected button will be "B", not "A". I know I can get this effect by saving that assignment to a text file, and then when I run the macro again have the "choice" variable assigned by reading the content of that text file - in effect, the default button becomes the button that was selected the last time I ran the macro. Fine, no problem. But rather than populating my disk with such "ini" files of sorts, or making one huge ini file to store all such settings, I wonder if it is possible to change the static assignment of a variable within the macro to reflect the choice made in the multiple choice window. As it is, I define the default "choice" like this: >> Variable Set String %printJob% to "A" Multiple Choice Menu: Make EPS files << In the Multiple Choice Menu, button "A" will now be preselected. But is there any way to pass the value "B" to the Variable Set String command, if I chose button B in the multiple choice menu, and have that new value saved somehow inside the macro to function as the new default next time I run the macro? Hm... Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.