-- I wrote:

> You could write a new script that waits until your Started variable
> is set and then runs the command passed to it as an argument.

-- SGP wrote:

> Good idea, but I get error "can't use this type of wait in nested
> script", then if I click on cancel (all scripts) I don't get my cmd
> executed, while if I click on ok (go on) wait.until is skipped and
> cmd is executed before variable Started is set to 1.

You could try changing the Wait.Until() to a Wait.For(), or you could
use an event.

-- DoWhenStarted.PowerPro

Global Started
; -- all one line below
Event.Create(1, 0, Arg(1) ++ Esc(?"\nEvent.DestroyThis", ?"\"), "Started")
; -- all one line above

-- 

Alex Peters / Melbourne, Australia
PowerPro v4.2.02 / Windows XP



Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to