- Download the batch file
- Set the path in 11th line for your ahk2exe.exe compiler (only directory)
- If you prefer other default binary image, change "/d 1" in 18th line for preferred one
- If you prefer to compress file by default (you need to have mpress in ahk2exe directory) change "/d n" to "/d y" in 24th line
- Drag your AHK script onto downloaded batch. Well, that's all.
- Using "Send to" context menu
- Press Win+R (or Menu Start>Run), enter shell:sendto
- Put the batch file or shortcut to it In the directory which will open after previous step
- Now you can right click on the script and choose Send to -> ahk2exeFrontend.bat (or whatever name you'd set for the file)
- Command line way - the only parameter is the full name (dir+name) of the script
- I'm personally using FIleMenu Tools, but versions up to 7.0.5 were adware (with ways to ommit it) and now here's free variant but without only worth function - custom commands. PM me if you'd like to talk about 7.0.5 version.
- Because sometimes I prefer console and this way is quicker for me
- I wanted to be able to autoset icon for compiled script - if there's icon in the AHK script directory, it will use it (i.e. for foo.ahk put in the same directory foo.ico)
- If you need some quick/temporary, public domain icon, remember about my tool (only 16x16) - http://mini.krzysiu.net/icon-generator/ - it's in Polish, but it's too obvious to translate it. Only thing you may want to know is "[pobierz]" - it means "download".
It could be written better, but I'm kind of in a hurry and I think such thing is enough for now. Remember it's licensed as MIT - you can use it as you want, but please attribute me as krzysiu.net. If you won't do it, I won't be mad - just please.