executable - How do I create a standalone exe with AutoHotkey? -


i have created script remap windows button right-mouseclick.

how can create executable autohotkey file can offer download, automatically runs script?

why not use ahk2exe? according docs, can use in 3 ways:

  1. gui interface: run "convert .ahk .exe" item in start menu.
  2. right-click: within open explorer window, can right-click .ahk file , select "compile script" (only available if script compiler option chosen when autohotkey installed). creates exe file of same base filename script, appears after short time in same directory. note: exe file produced using same custom icon, .bin file , use mpress setting last used method #1 above.
  3. command line: compiler can run command line following parameters:

    ahk2exe.exe /in myscript.ahk [/out myscript.exe] [/icon myicon.ico] [/bin autohotkeysc.bin] [/mpress 0or1] 

    for example:

    ahk2exe.exe /in "myscript.ahk" /icon "myicon.ico" 

    usage: parameters containing spaces should enclosed in double quotes. if "out" file omitted, exe have same base filename script itself.


Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -