Skip to content
Create a gist now

Instantly share code, notes, and snippets.

Keypress detection script for Windows automation program AutoHotKey. Designed to control the Floppy Stereo's WinAmp functions.
; <COMPILER: v1.0.35.10>
Numpad9::
IfWinExist, Player Window
{
WinActivate
MouseClick, left, 50, 140
}
Return
Numpad8::
IfWinExist, Player Window
{
WinActivate
MouseClick, left, 78, 140
}
Return
Numpad0::
IfWinExist, Player Window
{
WinActivate
MouseClick, left, 137, 140
}
Return
Numpad5::
IfWinExist, Player Window
{
WinActivate
MouseClick, left, 20, 140
}
Return
Numpad6::
IfWinExist, Player Window
{
WinActivate
MouseClick, left, 108, 140
}
Return
m::
IfWinExist, Player Window
{
WinActivate
MouseClick, left, 170, 146
}
Return
e::
IfWinExist, Player Window
{
WinActivate
MouseClick, left, 323, 65
}
Return
h::
IfWinExist, Player Window
{
WinActivate
MouseClick, left, 320, 85
}
Return
Numpad3::
IfWinExist, Player Window
{
WinActivate
MouseClick, left, 340, 8
}
else
{
Run, %ProgramFiles%\Winamp\Winamp.exe
WinWait, Player Window
WinActivate
}
Return
Numpad2::
Run, a:\Shortcut to playlist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.