I made Function Called _Pause
Also added Hotkey to Toogle it on/off
HotkeySet("{F4}",_Pause()
Global $Pauza = False;
And i have problem
"
Func _Pause()
if $Pauza == True Then
$Pauza = False;
Else
$Pauza = True;
EndIf
EndFunc
"
And im trying to do in my script something like that
While(1)
If($Pauza) Then
WinActivate("Window Tittle")
Else
EndIf
; rest script here
Wend
but when i try To use this script ;) I got error and my script Crash
How to make this work like
If Function Pause = True Then
i get WinActive("Window Tittle")
Else window is not activated untill i hit F4 ?
Figured it out
#Delete Request
Also added Hotkey to Toogle it on/off
HotkeySet("{F4}",_Pause()
Global $Pauza = False;
And i have problem
"
Func _Pause()
if $Pauza == True Then
$Pauza = False;
Else
$Pauza = True;
EndIf
EndFunc
"
And im trying to do in my script something like that
While(1)
If($Pauza) Then
WinActivate("Window Tittle")
Else
EndIf
; rest script here
Wend
but when i try To use this script ;) I got error and my script Crash
How to make this work like
If Function Pause = True Then
i get WinActive("Window Tittle")
Else window is not activated untill i hit F4 ?
Figured it out
#Delete Request