mIRC Home    About    Download    Register    News    Help

Print Thread
$file() - add identifier new properties #268786 28/04/21 07:07 PM
Joined: Jan 2012
Posts: 171
Epic Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Jan 2012
Posts: 171
I am currently creating an interesting script, which I plan to publish in the future here, for help solve one the problem. The script will need to extract some information from an executable file "file.exe".
I don't know if there is another way to extract detailed properties information from a file where there is a "File description" and "Product name" line?

     [Linked Image from i.ibb.co]

Currently, only the version can be retrieved from the file: $file().version, and some other information.


I suggest adding additional new properties to this identifier: $file().description and $file().productname. If there is no such information at the file, then the return will be - $null.



🅸🆁🅲 - 𝔦'𝔱𝔰 𝔸 𝕂𝖎ɴ𝙙 ᴏ𝙛 𝕄𝙖𝖌𝙞𝙘
Re: $file() - add identifier new properties [Re: Epic] #268787 28/04/21 08:43 PM
Joined: Jul 2006
Posts: 3,805
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,805
https://en.wikichip.org/wiki/mirc/identifiers/$file


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: $file() - add identifier new properties [Re: Wims] #268788 28/04/21 08:59 PM
Joined: Jan 2012
Posts: 171
Epic Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Jan 2012
Posts: 171
Thanks, but I wouldn't be creating a new topic if preliminarily hadn't looked at the hint in that the reference book first...
I have already tried all the properties from this list and there is nothing there to extract the information necessary from file.

If you have more precise information how to do it, then please indicate built-in the identifier which the suitable for use and its precise properties.


🅸🆁🅲 - 𝔦'𝔱𝔰 𝔸 𝕂𝖎ɴ𝙙 ᴏ𝙛 𝕄𝙖𝖌𝙞𝙘
Re: $file() - add identifier new properties [Re: Epic] #268789 28/04/21 09:23 PM
Joined: Jul 2006
Posts: 3,805
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,805
Sorry I thought .product would return the product name, as well as the description being available there


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net