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.
- e::
- ; This is how you hold one key down and press another key (or keys).
- ; If one method doesn't work in your program, please try the other.
- Send, {s DownR} ; Both of these send CTRL+S
- sleep 50
- MouseClick, left ; Both of these send CTRL+S
- Send, {s Up}
- sleep 475
- Send, {space DownR} ; Both of these send CTRL+S
- Send, {space Up} ; Both of these send CTRL+S
- MouseClick, right
- return
- q::
- ; This is how you hold one key down and press another key (or keys).
- ; If one method doesn't work in your program, please try the other.
- MouseClick, left ; Both of these send CTRL+S
- sleep 365
- Send, {space DownR} ; Both of these send CTRL+S
- Send, {space Up} ; Both of these send CTRL+S
- MouseClick, left
- return
- r::
- ; This is how you hold one key down and press another key (or keys).
- ; If one method doesn't work in your program, please try the other.
- MouseClick, left ; Both of these send CTRL+S
- sleep 400
- Send, {space DownR} ; Both of these send CTRL+S
- Send, {space Up} ; Both of these send CTRL+S
- MouseClick, left ;
- t::
- ; This is how you hold one key down and press another key (or keys).
- ; If one method doesn't work in your program, please try the other.
- MouseClick, left ; Both of these send CTRL+S
- sleep 350
- MouseClick, left ;
- sleep 350
- Send, {s DownR} ; Both of these send CTRL+S
- sleep 100
- MouseClick, left ; Both of these send CTRL+S
- Send, {s Up}
- sleep 400
- MouseClick, left ; Both of these send CTRL+S
- return
- f::
- ; This is how you hold one key down and press another key (or keys).
- ; If one method doesn't work in your program, please try the other.
- MouseClick, left ; Both of these send CTRL+S
- sleep 400
- MouseClick, left ;
- return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement