This AutoHotkey script helps you play openfront.io more efficiently by assigning keyboard shortcuts to common game actions.
Work with all screen resolutions !
- Install AutoHotkey v2.0
- Openfront.ahk and config.ini must be in the same folder
- Launch the openfront.ahk script (just double click it)
- Configure (see below)
- Enjoy (sadly Chromium based browsers are better supported)
- Calibrate mouse position and ui size with
mhotkey and follow the instructions.
ctrl + click anywhere to open build menu, click 3 then 4, enter the number of elements of first row
-
Increase or decreast delay based on lag with
oandphotkeys. -
Most hotkeys can be customized in the
config.inifile located in the same directory as the script. -
Exit Scrit and Pause/Unpause hotkeys must be set at the top of the
openfront.ahkfile :Esc:: ExitApp()⇦ EditEscto Exit the script!p:: Suspend(-1)⇦ Edit!p(alt + p) to Pause/Unpause the script
-
Check AutoHotkey key list to find valid key names and modifier combinations (like Ctrl, Alt, etc.) you can use.
| 📜 Script | Key |
|---|---|
| ❌ Exit | esc |
| ⏸️ Pause / Unpause | alt + p |
| ⚙️ Settings | Key |
|---|---|
| 📐 Calibrate mouse position | m |
| ⏫ Increase delay | p |
| ⏬ Decrease delay | o |
| 🏗️ Build | Key |
|---|---|
| 🏙️ Build city | f |
| ⚓ Build port | g |
| 🛡️ Build defense post | h |
| 🚀 Build missile silo | j |
| 🛡️🚀 Build SAM launcher | k |
| 🚀 Send | Key |
|---|---|
| 🚢 Send warship | r |
| 💣 Launch atom bomb | t |
| ☢️ Launch hydrogen bomb | y |
| 💀 Launch MIRV | u |
| 🧭 Action | Key |
|---|---|
| 🚤 Naval invasion | x |
| 🤝 Betray ally | v |
| ℹ️ View player info | b |
Feel free to open an issue or pull request if you want to improve the script or report a bug!

