I can finally get back to you about the script.
when you posted it, I tried right away, however it didn't seem to work, I couldn't get the result in the clipboard and I had some error in the script output logs.
I meant to try again and give you some feedback but then other tasks came up and it got delayed.
Today, I tried again and it seems to be working. I can't remember how I got all the errors previously.
However I have managed to produce an error while trying to get the DLL version of a system file:
The error is:
29/12/2020 16:32 Error at line 7, position 9
29/12/2020 16:32 'metadata.exe.prodversion' is null or not an object (0x800a138f)
I can't remember if it was exactly the same error last time and the same file... but it was pretty similar.
Do you know how to prevent this ?
(the file is displayed as a system file and is color coded in red in Directory Opus, this is the only DLL file looking like that, and the only DLL file giving an error.)