Using extra buttons to select next action on Prompt for user input


This is an example macro using the result button variable.
I had a number of options in the prompt for user input,
so as well as the OK and Cancel, I wanted the ability to
set the options to specific defaults.
Just to show the principles, I have only one input field and
four buttons OK, Cancel, Pages setup and Option.
The first test is incorrect as it uses the Button on test.
The second is correct as it uses the Result Variable test.
This means it is very easy to give the user a choice and vary the macro
based on the button selected. Hope this helps.


I can't see the picture in this thread... too old perhaps?
I would love some more input on how to use buttons other than OK/CANCEL, like for instance how to use the button HELP effectively.


Thanks for sharing your macro, except that the actual macro was not uploaded. See How To post/upload your script/macro.