Here is all the summary.

----------------- Test1.PowerPro ----------------------------
If(1)Do
Wait.For(2000)
Osd.Show("OK")
EndIf
-------------------------------------------------------------

---------------- Test2.PowerPro -----------------------------
For(!ctrl)
Win.Debug(2)
EndFor
-------------------------------------------------------------

1) Test1 -> Test2 with Wait.For()
Osd.Show() never executed even after exitting For().

2) Test1 -> Test2 with Wait.Until()
Osd.Show() was not executed after 2 seconds, only executed after
exitting For().

3) Test2 -> Test1 with Wait.For()
Osd.Show() was executed as expected.

4) Test2 -> Test1 with Wait.Until()
Produced error message:
---------------------------
Cannot use this type of wait in nested script.
Outer script is Test2.PowerPro

Error occurred near line 2 of script Test1:
Wait.Until(2000)

Press Cancel to end all running scripts.
---------------------------

However, if ignored by pressing OK, Osd.Show() was executed and all
went fine afterwards.

Sean






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