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:
- gui interface: run "convert .ahk .exe" item in start menu.
- 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.
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
Post a Comment