Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #SingleInstance
- #MaxHotkeysPerInterval 1000
- speed1 := 1
- speed2 := 5
- Voice := ComObjCreate("SAPI.SpVoice")
- Voice.Voice := Voice.GetVoices.Item(1)
- Voice.Rate := 5
- #MaxThreadsPerHotkey 255
- #IfWinActive, ahk_exe BloonsTD6.exe
- F1::
- Suspend Permit
- Voice.Speak("exit")
- ExitApp
- Return
- F2::
- Voice.Speak("reload")
- Reload
- Return
- F3::
- Suspend
- Voice.Speak(A_IsSuspended ? "suspended" : "unsuspended")
- Return
- F4::
- MouseGetPos, xpos, ypos
- ToolTip, X%xpos% Y%ypos%.
- Sleep, 3000
- ToolTip
- Return
- Up:: MouseMove, 0, -%speed1%, 0, R
- Down:: MouseMove, 0, %speed1%, 0, R
- Left:: MouseMove, -%speed1%, 0, 0, R
- Right:: MouseMove, %speed1%, 0, 0, R
- ^Up:: MouseMove, 0, -%speed2%, 0, R
- ^Down:: MouseMove, 0, %speed2%, 0, R
- ^Left:: MouseMove, -%speed2%, 0, 0, R
- ^Right:: MouseMove, %speed2%, 0, 0, R
- Enter:: MouseClick
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement