No problem.  I sort of suspected that was the problem when I remembered the
OpenWindows list.  I've been curious about events anyway.  Now I have a
reason to play with them.

Thanks Bruce.

Paul

-----Original Message-----
From: [email protected]
To: [email protected]
Sent: 4/3/2006 8:23 PM
Subject: [power-pro] Re: nested wait.for error

--- In [email protected], "Gardner, Paul G." <[EMAIL PROTECTED]> 
wrote:
>
> I have 4.4.07.  Is there a more recent beta?
>  
> The only other info than I provided was the full path to the outer 
script.
>  
> Something I further discovered/remembered.  I have a OpenWindows 
Command
> list that performs a *wait 10 when AIM opens.  

Here is what is happening.
The script is running and starts the wait.for.  So now the script is 
suspended.

Because you started AIM, the autorun command list executes a *wait 
10.  This wait sees that there is a script running already, which is 
a not allowed for this type of wait.  However, the *wait 10 itself 
is not in a script, so the error message is misleading.  I'll have 
to look into improving this.

I am not sure about what to do in your situation.  Just using a 
wait.for(10000) in your autorun will remove the error.  But because 
nested wait.for's are always stopped in reverse order of issuing 
them, this means you will always wait for the full 10 seconds for 
AIM.  Maybe you can use a global variable that will prevent the 
*wait 10 if the script is ready waiting?  Or more likely you will 
need to use an event somewhere.







Attention: PowerPro's Web site has moved: http://www.ppro.org
<http://www.ppro.org>  



  _____  

YAHOO! GROUPS LINKS 


        
*        Visit your group " power-pro
<http://groups.yahoo.com/group/power-pro> " on the web.
  

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

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



  _____  



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