- ; 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.
- ; SAMPLE HOTKEYS: Below are two sample hotkeys. The first is Win+Z and it
- ; launches a web site in the default browser. The second is Control+Alt+N
- ; and it launches a new Notepad window (or activates an existing one). To
- ; try out these hotkeys, run AutoHotkey again, which will load this file.
- ^Volume_Down::SoundSet, -1
- ^Volume_Up::SoundSet, +1
- ; Hidden Files toggle (Win+H)
- #h::
- RegRead, HiddenFiles_Status, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, Hidden
- If HiddenFiles_Status = 2
- RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, Hidden, 1
- Else
- RegWrite, REG_DWORD, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced, Hidden, 2
- Send {F5}
- Return
- ; Calculator (Win+F11)
- #F11::
- Run "C:\Windows\System32\calc.exe"
- Return
- ; Mail (Win+F10)
- #F10::
- Run thunderbird.exe
- Return
- ; Daemon Tools (Win+F9)
- #F9::
- Run DTLite.exe
- Return
- ; Notepad++ (Win+F8)
- #F8::
- Run "C:\Programs\Applications\Notepad++\notepad++.exe"
- Return
- ; Edit This Script (Win+F6)
- #F6::
- Run "C:\Programs\Applications\Notepad++\notepad++.exe" "E:\Documents\Documents\AutoHotkey.ahk"
- Return
- ; Reload This Script (Win+F5)
- #F5::
- Reload
- Return
- #IfWinActive ahk_class MediaPlayerClassicW
- RButton & Volume_Down::SoundSet, -1
- RButton & Volume_Up::SoundSet, +1
- RButton & XButton1::
- Send {LControl Down}
- Send {PgUp}
- Send {LControl Up}
- Return
- RButton & XButton2::
- Send {LControl Down}
- Send {PgDn}
- Send {LControl Up}
- Return
- RButton & WheelDown::
- Send {Left}
- Return
- RButton & WheelUp::
- Send {Right}
- Return
- RButton & MButton::
- Reload
- Return
- #IfWinActive ahk_class #32770
- Home::
- Send {Up}
- Send {Down}
- Return
- #IfWinActive ahk_class io_r2
- Down::Enter
- Left::Space
- Up::PgUp
- Right::PgDn
- #IfWinActive ahk_class EntisGLS_GameWindow
- Left::RButton
- #IfWinActive ahk_class ahk_class CoreSystem2
- Down::Enter
- Right::PgDn
- Up::PgUp
- Left::Space
- #IfWinActive ahk_class RPM_ADV_SYSTEM_APP_KOITATE_CLASS
- Down::Enter
- Right::PgDn
- Up::PgUp
- Left::Space
- #IfWinActive ahk_class VisualArts_System2000_RealLive
- Down::Enter
- Right::PgDn
- Up::PgUp
- Left::Space
- #IfWinActive ahk_class ahk_class N2App Class Name
- Down::Enter
- Up::WheelUp
- Right::WheelDown
- Left::Space
- #IfWinActive ahk_class Will|Yumina|{4AEE807B-20FE-4fe2-B1A0-709B5B927E26}
- Up::WheelUp
- Right::WheelDown
- Left::F4
- Down::Enter
- #IfWinActive ahk_class TearsToTiaraCN
- Down::Enter
- Up::PgUp
- Left::Space
- Right::PgDn
- #IfWinActive ahk_class Eien no Aselia - Kono Daichi no Hate de
- Down::Enter
- Right::WheelDown
- Up::WheelUp
- Left::MButton
- #IfWinActive ahk_class ahk_class TForm1
- Down::Enter
- Right::WheelDown
- Up::WheelUp
- Left::RButton
- #IfWinActive ahk_class oozora_e
- Down::Enter
- Up::PgUp
- Right::PgDn
- Left::Space
- #IfWinActive ahk_class DUEL SAVIOR JUSTICE
- Enter::z
- PgUp::Numpad8
- PgDn::Numpad2
- Space::x
- Up::WheelUp
- Down::WheelDown
- Left::x
- Right::z
- NumpadEnter::z
- Numpad0::x
- #IfWinActive ahk_class LCSE
- Down::Enter
- Right::WheelDown
- Up::WheelUp
- Left::Space
- #IfWinActive ahk_class LW_PERIOD
- Left::Del
- RButton::Del
- MButton::RButton
- #IfWinActive ahk_class N2System
- Left::Space
- Esc::RButton
- MButton::RButton
- RButton::Space
- #IfWinActive ahk_class TTVPWindowForm
- Down::Enter
- Left::RButton
- Up::WheelUp
- Right::WheelDown
- #IfWinActive ahk_class MAJIKOI_S
- Down::Enter
- Right::Down
- Left::Backspace
- #IfWinActive ahk_class MAJIKOI
- Down::Enter
- Right::Down
- Left::Backspace
- #IfWinActive ahk_class HS_MAIN_WINDOW_CLASS00
- Left::RShift
- Right::Enter
- #IfWinActive ahk_class NScripter
- PgUp::WheelUp
- PgDn::WheelDown
- #IfWinActive ahk_class Sys40WindowClass
- Up::WheelUp
- Down::Enter
- Right::WheelDown
- Left::RButton
- #IfWinActive ahk_class siglus_engine_main_window_Key\Rewrite
- Down::Enter
- Up::PgUp
- Left::Esc
- Right::PgDn
- #IfWinActive ahk_class MAJIRO_EXEC_CLASS
- Up::PgUp
- Left::Esc
- Right::Enter
- Down::PgDn
- #IfWinActive ahk_class OTOBOKU-CaramelBox
- Up::PgUp
- Left::Esc
- Right::Enter
- Down::PgDn
- #IfWinActive ahk_class BGI - Main window
- Left::Space
- #IfWinActive ahk_class AngelFrame - ProjectGA - 2002
- Left::RButton
- Up::PgUp
- Down::Enter
- Right::PgDn
- #IfWinActive ahk_class AngelFrame - GalaxyAngel ML - 2003
- Left::RButton
- Up::PgUp
- Down::Enter
- Right::PgDn
- #IfWinActive ahk_class ARCGameEngine
- Down::Enter
- Left::Space
- Right::Down
- #IfWinActive ahk_class LiosGameClass
- Down::Enter
- Right::Down
- #IfWinActive ahk_class OCGameApplicationWindow
- Up::WheelUp
- Down::Enter
- Right::WheelDown
- Left::Space
- ; Note: From now on whenever you run AutoHotkey directly, this script
- ; will be loaded. So feel free to customize it to suit your needs.
- ; 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 more about hotkeys.