Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SetKeyDelay, 0, 20
- toggle := 0
- s:="W25 H25",p:="X1870 Y1000"
- Gui Color, Red
- Gui -Caption +Toolwindow +AlwaysOnTop +LastFound
- Gui Show,%p% %s% NA
- WinSet Region, 0-0 %s% E
- return
- x::
- toggle := !toggle
- If (toggle) {
- Gui Color, Lime
- SetTimer, spamKey, 1000
- } Else {
- Gui Color, Red
- SetTimer, spamKey, Off
- }
- Return
- spamKey() {
- ControlSend,,{1}, ahk_exe Gw2-64.exe
- ; send {1}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement