Hi Bruce,

There are several options:

- Use Perform Script step instead and set it to Resume the current script. Run different scripts or pass different parameters.

- Use Exit Script and return different results (can 8.5. use Exit Script?)

- Use one Perform Script and one Resume Script; the latter will be the default one that gets ‘pressed’ by the Enter key.

Kind regards,
--
Mikhail Edoshin
[email protected]



On Feb 16, 2009, at 11:53 PM, Bruce Button wrote:

I want to create a modal pop-up layout with two buttons, say "Select" and "Cancel". When the user presses "Select" one action must happen, and when the user presses "Cancel" another action must happen.

I have set up the layout as follows:
New Window
Go To Layout
Allow User Abort[Off]    // to make the layout modal
Pause/Resume Script[Indefinitely]
I can get the script to resume by assigning the Resume Script script step to a button, but how do I distinguish between the buttons? If I assign a separate script to each one, then the original script (as above) remains active and paused. There seems to be no way to restart that script from another one.

(I'm using FMPro Advanced 8.5 on Windows XP.)

Any ideas would be greatly appreciated.

Bruce Button

Reply via email to