A collection of my AutoHotKey scripts that I use with various games/applications.
- Startup notification
- Customized Tray menu (see below)
- Disable Windows keys while in-game
- Key bindings only active while in-game
All of the *.ahk
scripts add the following items to the Tray menu:
- Launch Game
- Edit Menu
- Open Game Directory
- Open Save Directory
- Edit Game Config
- Edit Input Config
- If available
- Resources Menu
- View on Steam Store
- View on Steam Community
- View Guides on Steam Community
- View on SteamDB
- View on PC Gaming Wiki
- Tools Menu
- User-defined application shortcuts
At startup, any files contained in the tools
directory will be added to the tray menu. This not only supports *.lnk
files, including their target's icons, and *.exe
, again with icons support, but any other file as well.
The tools menu supports folders for organization.
Script for Resident Evil 4. Disables the Windows keys and rebinds the f
key to Enter
only active when the game's window is active.
f::Enter ; Makes the 'f' key send an 'Enter' key
The f
key by default is the 'Ashley' key in Resident Evil 4 so rebinding it here means that you will need rebind that action otherwise the 'Ashley' commands will not work.
Script for Resident Evil 5. Only active when the game's window is active.
f::Enter ; Makes the 'f' key send an 'Enter' key
w::Up ; Makes the 'w' key send an 'Up' key
a::Left ; Makes the 'a' key send a 'Left' key
s::Down ; Makes the 's' key send a 'Down' key
d::Right ; Makes the 'd' key send a 'Right' key
By binding the WASD
keys to the movement keys you can navigate menus (including inventory in-game) using WASD
with f
functioning as the ENTER
key.
You will need to rebind your movement keys in-game to use the arrow keys for this to work. It will also show QTE (Quick-Time Events) with the arrow keys, so just keep that in mind. Unfortunately, RE5 only supports one key binding per action so you can't have an alternate key (like in Revelations 2).
By default, the script will also block the Shift
+RMouse
shotcut to reload your weapon. You can disable this by setting the DisableShiftReload
to False
(default is True
).
Script for Resident Evil 6. Similar to the RE5 one, it rebinds the WASD
keys to the movement arrows and is only active when the game's window is active.
w::Up ; Makes the 'w' key send an 'Up' key
a::Left ; Makes the 'a' key send a 'Left' key
s::Down ; Makes the 's' key send a 'Down' key
d::Right ; Makes the 'd' key send a 'Right' key
LShift::Space ; Makes the 'Left Shift' key send a 'Space' key
By binding the WASD
keys to the movement keys you can navigate menus (including inventory in-game) using WASD
with f
functioning as the ENTER
key.
Finds the installation directory for an installed game. Will check the registry to get the default InstallPath
for Steam and check the the steamapps\common
directory. If it can't find the install in the default location it will check all of the library locations in the steamapps\libraryfolders.vdf
config file. Once it finds the install directory, it will open it in File Explorer.
Finds the currently signed in Steam user's save data folder and opens it in File Explorer.
- Add ToolTips to the Tray menu items
- Move reusable code into its own script
- Add ability to configure menu items
- Add SteamDB to the Tray menu
- Add Steam Store to the Tray menu
- Add launch Steam to the Tray menu