Code: Select all
1::
send, QWE
return,
Code: Select all
2::
send, 1QAZ1
return,
Code: Select all
1::
send, QWE
return,
Code: Select all
2::
send, 1QAZ1
return,
Code: Select all
#NoEnv
#SingleInstance force
#Persistent
$1::
send, QWE
return
2::
send, 1QAZ1
return
Indeed, just a line from the test.ahk I mostly used to run some code besides mine ^^.lexikos wrote: @Paneb: FYI, #Persistent has no effect in scripts which have hotkeys.
If there were two instances, only one of them would detect and react to the hotkey. Hotkeys without ~ block the keypress from other scripts just as they block it from the active window.I mean, if there is two instances it could send two hotkey at the same time no?
Users browsing this forum: Billykid, dinodragon, Google [Bot], mcd and 155 guests