Hello,
The script is already suspended. How can with "6" unsuspend it again, but only when Variable_Status = 1. Suspend works when i write it as first. But i want it only when Variable_Status = 1.Code: Select all
J:: Variable_Status := 1 MouseMove,50,150 Click, left, down gosub GoSub_Sleep_17 click Suspend return 6:: if (Variable_Status = 1) { Suspend Text:="|<(CREATE) (GRÜN)>*126$37.S00060RU0030APrXnvo1XNAli0nwSNzXMUPAEvAPNaBj477lnc" if (ok := FindText(X,Y,0,0,0,0,0,0, Text)) { MouseMove,X,Y gosub GoSub_Klick } } return
Thank you!
Suspend
Suspend
Re: Suspend
The secret is in the documentation.
Suspend:
Suspend:
Any hotkey/hotstring subroutine whose very first line is Suspend (except Suspend On) will be exempt from suspension
Permit: Does nothing except mark the current subroutine as being exempt from suspension.
Who is online
Users browsing this forum: AlFlo and 141 guests