; IMPORTANT INFO ABOUT GETTING STARTED: Lines that start with a ; semicolon, such as this one, are comments. They are not executed. ; This script has a special filename and path because it is automatically ; launched when you run the program directly. Also, any text file whose ; name ends in .ahk is associated with the program, which means that it ; can be launched simply by double-clicking it. You can have as many .ahk ; files as you want, located in any folder. You can also run more than ; one ahk file simultaneously and each will get its own tray icon.777 ; Please read the QUICK-START TUTORIAL near the top of the help file. ; It explains how to perform common automation tasks such as sending ; keystrokes and mouse clicks. It also explains how to use hotkeys. `::Suspend 1::Send 1 1 & 2::Send {Esc} 1 & Ctrl::Send {Enter} 1 & Space::Send p #IfWinActive ahk_class VPPlayer LButton::Z RButton::/ MButton::Space #IfWinActive ahk_class ProPinballClass LButton::LAlt RButton::RAlt #IfWinActive ahk_class WebClass LButton::G RButton::H #IfWinActive ahk_class STREET FIGHTER IV 5::Send 5 c::send c ; Ultra Right Ryu/Ken/Dhalsim/FeiLong/Abel/Rufus 5 & Space:: setkeydelay, 38, 38 Send {Numpad2 down} Send {Numpad6 down} Send {Numpad2 up} Send {Numpad6 up} Send {Numpad2 down} Send {Numpad6 down} Send {Numpad2 up} Send {Numpad6 up} SendInput {LCtrl down}{LAlt down}{Space down} sleep, 38 Send {LCtrl up}{LAlt up}{Space up} return ; Ultra Left Ryu/Ken/Dhalsim/FeiLong/Abel/Rufus c & Space:: setkeydelay, 38, 38 Send {Numpad2 down} Send {Numpad4 down} Send {Numpad2 up} Send {Numpad4 up} Send {Numpad2 down} Send {Numpad4 down} Send {Numpad2 up} Send {Numpad4 up} SendInput {LCtrl down}{LAlt down}{Space down} sleep, 38 Send {LCtrl up}{LAlt up}{Space up} return ; Super Right Ryu/Ken/Dhalsim/FeiLong/Abel/Rufus/Viper/Dan/Rose/Gen/Gouken/Seth setkeydelay, 38, 38 Send {Numpad2 down} Send {Numpad6 down} Send {Numpad2 up} Send {Numpad6 up} Send {Numpad2 down} Send {Numpad6 down} Send {Numpad2 up} Send {Numpad6 up} SendInput {Space down} sleep, 38 Send {Space up} return ; Super Left Ryu/Ken/Dhalsim/FeiLong/Abel/Rufus/Viper/Dan/Rose/Gen/Gouken/Seth c & LAlt:: setkeydelay, 38, 38 Send {Numpad2 down} Send {Numpad4 down} Send {Numpad2 up} Send {Numpad4 up} Send {Numpad2 down} Send {Numpad4 down} Send {Numpad2 up} Send {Numpad4 up} SendInput {Space down} sleep, 38 Send {Space up} return ; Note: From now on whenever you run AutoHotkey directly, this script ; will be loaded. So feel free to customize it to suit your needs. ; LButton - left mouse button ; RButton - right mouse button ; MButton - middle or wheel mouse button