Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- ; #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- #MaxHotkeysPerInterval 30000
- $~MButton:: ; the $ prevents recursion
- counter++ ; counter is a custom variable
- If counter=1
- Send {F1}
- If counter=2
- Send {F2}
- If counter=3
- Send {F3}
- If counter=4
- Send {F4}
- If counter=4
- counter:=0
- return
- ~Space::
- counter:=0
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement