Page 1 of 1
File Version, Description, Copyright in Infopanel.
Posted: 22 Sep 2022 10:46
by eil
It's actually not straight about XY, at least half of question is about AutoHotKey, which i know some users here use extensively.
So i made a little script for myself, compiled it, seemingly added proper info for .exe data(like version, product name, description), but for some reason when i select compiled app, XY Info Panel shows blanks on left side while showing provided info on the right fields.
What's so special about left fields and how to properly fill them? I would be grateful for example of proper AHK .exe data filling too.(proper = XY Info Panel would show it appropriately)
Re: File Version, Description, Copyright in Infopanel.
Posted: 23 Sep 2022 00:55
by jupe
There are 2 locations the versions are listed in a resource, unsure how you added them initially, but you probably haven't modified both properly.
2022-09-23_053212.png
There are a few ways to set version info, for example, you can edit the bin file you are compiling with, or
https://www.autohotkey.com/docs/misc/Ah ... tm#SetProp
Re: File Version, Description, Copyright in Infopanel.
Posted: 23 Sep 2022 11:06
by eil
Yeap, i exactly used directives from that help topic at start of script:
Code: Select all
;@Ahk2Exe-Set Copyright, Value
;@Ahk2Exe-Set CompanyName, Value
;@Ahk2Exe-Set OrigFilename, Value
;@Ahk2Exe-Set InternalName, Value
;@Ahk2Exe-Set ProductName, Value
;@Ahk2Exe-Set ProductVersion, Value
;@Ahk2Exe-Set FileVersion, Value
;@Ahk2Exe-Set Version, Value
;@Ahk2Exe-Set Description, Value
I even took/filled several co-related values so maybe at least one will fill that XY missing fields, but as you can see on screenshots they don't display in all proper places.
Re: File Version, Description, Copyright in Infopanel.
Posted: 23 Sep 2022 11:13
by jupe
Are you reading the same docs? because you have it wrong, there should be no space after Set or any commas. eg.
Code: Select all
;@Ahk2Exe-SetVersion 99
;@Ahk2Exe-SetCopyright eil
etc...
Re: File Version, Description, Copyright in Infopanel.
Posted: 23 Sep 2022 14:10
by eil
jupe wrote: ↑23 Sep 2022 11:13
Are you reading the same docs? because you have it wrong, there should be no space after Set or any commas. Eg.
That's the most shitty part about AHK - its documentation is super unclear! As right below in explanation of command
Set there is an example:
which i followed with all spaces and commas.
I noticed description says: "
Changes other miscellaneous properties in the compiled executable's version information not covered by the SetProp directive." - but Which "others" if the only i get to know are mentioned above?! So i decided these commands just do the same with different syntax.(especially as my compiled app partially had stated exe-properties)
add: Well guess now i'll work it out with some experiments. Thank you.