Page 1 of 1

How is read by windows

Posted: 28 Jul 2019, 16:51
by manehscripts
Hello,

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.
Screenshot_4.png
Screenshot_4.png (16.49 KiB) Viewed 2571 times

Re: How is read by windows

Posted: 29 Jul 2019, 16:00
by HotKeyIt