[Tips] Compile script with different icon/version/bin easily
Posted: 03 Oct 2013, 13:48
Step 1 - Put below code at the beginning (or anywhere) of the script:
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:
Code: Select all
/*
[config]
ahk_version=Unicode
icon=test.ico
bin=
*/
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