--- In [EMAIL PROTECTED], bizaro <[EMAIL PROTECTED]> wrote: > Hello swzoh, > > you wrote... > > > [EMAIL PROTECTED] > > Debug "OK" > > quit > > @mymsg > > *Message 5 "This is a test." > > *Wait For not anywindow "PowerPro Message" > > You can achieve same effect with following script > > ----------------script---------------- > event.createms(20,1,"[EMAIL PROTECTED]") > Quit > @Debug > Debug "OK" > Quit > > @mymsg > Wait Message 5 "This is a test." > [EMAIL PROTECTED] > ----------------script----------------
Hi bizaro; Of course it works. The only might-be trouble in this is that you have to refer back again to the parent script in the nested script. So, the "parent" and "nested" become alternating between the two scripts. (In the above examples it may not be explicit) Anyway, I think your event solution makes richer the possible ways to run another script in the scripts, regardless of whether containing "wait" or not. Sometimes someone could want to run the would-be nested script called in the script as an independent one. It may be analogous to the situation in cmd console as "call *.bat" or "start *.bat". Thanks for sharing! ------------------------ Yahoo! Groups Sponsor --------------------~--> Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar. Now with Pop-Up Blocker. Get it for free! http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/JV_rlB/TM --------------------------------------------------------------------~-> 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/
