HotKeySet("q", "a")
HotKeySet("{ESC}", "On_Exit")
; Now keep the script active
While 1
Sleep(100)
WEnd
Func a()
; Unset the HotKey
HotKeySet("q")
; Send the keys
Send("1")
Sleep(100)
Send("r")
Sleep(100)
Send("2")
Sleep(100)
Send("r")
Sleep(100)
; Reset the HotKey
HotKeySet("q", "a")
EndFunc
Func On_Exit()
Exit
EndFunc
bu kodu yazdım fakat bunu oyun ekranın da çalıştırmak istiyorum çalışmıyor
birde tuşa bastığımda makro başlayacak
basılı tuttuğum süre boyunca makro devam etmeli
elimi çektiğimde dursun
tekrar tuşa bastığım da en baştan makroyu tekrar başlatsın istiyorum
birde notepad de denediğim zaman q tuşuna da basıyor basmasını iptal edebilirmiyiz
yardımınız için teşekkür ederim