oder die kurz version mit until zb.
Code: Select all
loop {
sleep 10
} until ... < -- deine Bedingung um die Schleife zu verlassen...
Code: Select all
loop {
sleep 10
} until ... < -- deine Bedingung um die Schleife zu verlassen...
Code: Select all
XButton1:: ; anstelle von RButton,sollte so funktionieren
Null := !Null
If Null
Send, 0
Else
Send, 9
Return
*End::ExitApp
Code: Select all
LShift & Left::
;Do what you want
KeyWait LShift
return
LShift::
Send {LShift}
return
In my opinion multi-threading works more accurately and it is much simpler to use.it seems for me that the script sometimes cant find each other.
i hope its safer, more reliable with AHK_H.dll
Code: Select all
dll:=AhkThread("#Persistent`nMyFunc(param){`nSleep 10000`nMsgBox `% param`n}")
MsgBox % dll.ahkFunction["MyFunc","test"]
Code: Select all
ControlClick, x259 y251, ahk_pid %pid%,, Left, 1, NA POS
try thisHello!
My Code look so now,
Code: Select all
~space::fileappend, "Here is the Problem" , MYText.txt
But i want if the Space Key get "Triggerd" its write in my Text "Space" but not the word rather this here " ".
Hope you understand what i mean, thanks.
Code: Select all
~space::fileappend, %A_Space% , MYText.txt
Code: Select all
~*LButton::
if (GetKeyState("RButton", "P")){
Send {Blind}{t down}
}
return
~*LButton Up::
Send {Blind}{t up}
return
Code: Select all
RButton & LButton::Send t
LButton::Send {Click left}
~RButton::Send {Click Right}