So, there is no response regarding PP going crazy, going into an 
endless loop withut visible reason, and not respecting Cancel 
command?

--------
Cannot use this type of wait in nested script.
Error occured near line ... wait 2
Pres Cancel to end all running scripts.
-------- 

1. Whay would this script become "Nested script"
2. Why does it not respect the Cancel button in a error box
3. Why does not PP always sucessfily send a letter Z to the menu 
which is open?

Regards



--- In [email protected], "davor_petric" <[EMAIL PROTECTED]> wrote:
>
> I have a script that must wait for a modem to hang up to continue 
> (in case it did not hung momenatirly, it should wait a bit and try 
> again).
> 
> Script segment is like: 
> 
> ...
> @redial
> ...
> TrayIcon Right SuperDial ; call Tray program local menu
> Keys z                   ; sends a letter z to the menu to hang up
> ...
> wait 2                   ; wait a bit for it to hang
> if (modem) do            ; if not hung, repeat action
>       keys {esc}       ; to clear the menu of the invoked program
>       jump redial
> ...
> 
> 
> The fault is because just before this loop, it calls a TrayIcon 
and 
> sens it a letter Z. For some reason, ocassionaly, it des not seem 
to 
> be able to send it Z, and program does not hang, but remains with 
> the open menu at the screen unavare of the Z command
> 
> When this happend, from time to time, it jumps into a permanent 
loop 
> I can not break! While doing that, it constantly prints out a 
> warning message: 
> 
> ----------------------
> Cannot use this type of wait in nested script.
> Error occured near line ... wait 2
> Pres Cancel to end all running scripts.
> 
> (with two buttons, I think their Eng translation would be:)
> OK              Cancel
> -----------------------
> 
> But, no matter which of these two buttons I press, it just repeats 
> running the sript again and again.
> 
> I will add a counter to kill it automatically as a safeguard, but 
> this behaviour stil does not seem to be normal to me (I mean 
cancel 
> not canceling he script).
>






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