Closed dilirity closed 2 months ago
Nice!
I can suggest a few improvements:
#Requires AutoHotkey >=2.0 SendMode "Event" SetWorkingDir A_ScriptDir XButton1:: { ; Mouse Browser Back button try { Run('"Helldivers 2 Macros.ahk" stalwart') } catch { MsgBox("An error occurred while trying to run the macro.") } } XButton2:: { ; Mouse Browser Forward button try { Run('"Helldivers 2 Macros.ahk" "shield generator pack"') } catch { MsgBox("An error occurred while trying to run the macro.") } }
Added the ability to specify the Steam installation path, and updated the example script. Check the new syntax by running the script with no arguments. 21dc0619ae37195a333cd2894178080dcff1665c
Nice!
I can suggest a few improvements: