I'm trying to understand how Ahk is read by Windows. The idea is to compile different Ahk_H so that each compilation is recognized differently from one another by Windows. I think maybe changing these lines of code below will do the job, but I'm not sure.
AutoHotkey.rc:
Code: Select all
#ifdef AUTOHOTKEYSC
VALUE "FileDescription", ""
VALUE "FileVersion", AHK_VERSION
VALUE "InternalName", ""
VALUE "LegalCopyright", ""
VALUE "OriginalFilename", ""
VALUE "ProductName", ""
VALUE "ProductVersion", AHK_VERSION
#else
VALUE "FileDescription", "AutoHotkey_H " AHK_ENC " " AHK_BIT
VALUE "FileVersion", AHK_VERSION
VALUE "InternalName", "AutoHotkey_H"
VALUE "LegalCopyright", "Copyright (C) 2003-2014"
Currently I just changed the name of the executable, but does that make it safe to be different from recognition in Windows? Or would it have some unique key to change that Windows can recognize to identify this difference.