Code: Select all
send {^1}
Code: Select all
send {^ Down}
send {1}
send {^ Up}
Code: Select all
#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.
$^+w::
KeyWait w
send {w Down}
return
$^+o::
SetTimer, wsAway, 300000
wsAway:
KeyWait w
send {w Down}
sleep 100
send {w Up}
sleep 100
KeyWait s
send {s Down}
sleep 266
send {s Up}
return
$^+p::SetTimer, wsAway, Off
f2::
sendplay {+ Down}
sendplay {n}
sendplay {+ Up}
SetTimer, wsRD1, 5
wsRD1:
sendplay {+ Down}
sendplay {.}
sendplay {+ Up}
return
f3::SetTimer, wsRD1, Off
c::
send {^ Down}
send {1}
send {^ up}
return
Pause::
Suspend
Pause,,1
return