Page 1 of 1

[Tips] Compile script with different icon/version/bin easily

Posted: 03 Oct 2013, 13:48
by tmplinshi
Step 1 - Put below code at the beginning (or anywhere) of the script:

Code: Select all

/*
[config]
ahk_version=Unicode
icon=test.ico
bin=
*/
Step 2 - Use a hotkey script
The hotkey script will get script path (from window title) --> read ini settings --> run/compile from command line, that's it.

Below hotkey is used in Sublime Text window:
Spoiler