Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- Toggle = 0
- instance1=0
- #MaxThreadsPerHotkey 2
- #MaxHotkeysPerInterval 1000
- F4::
- SetKeyDelay 20,20
- if (!instance1)
- {
- instance1=1
- while GetKeyState("F4","P")
- {
- SendEvent {LShift}
- ;sleep 10
- }
- instance1=0
- }
- return
Advertisement
Add Comment
Please, Sign In to add comment