Page 1 of 1

Check which version of Excel is installed

Posted: Thu Jul 21, 2016 4:12 pm
by japino
I'm creating a small application for OS X. I need to check which version of Microsoft Excel is installed on a user's machine. Can I do this straight from LiveCode or do I need to add some AppleScript to my code? Was looking at "files" in LiveCode, but this doesn't seem to give me the version number.

Re: Check which version of Excel is installed

Posted: Thu Jul 21, 2016 6:03 pm
by Klaus
Hi japino,

5 seconds with GOOGLE showed me this page: https://discussions.apple.com/thread/3455046?tstart=0 8)

Here the relevant part to use with SHELL:
...
mdls -name kMDItemVersion <path to file>
...

Best

Klaus

Re: Check which version of Excel is installed

Posted: Thu Jul 21, 2016 9:14 pm
by japino
Thank you Klaus, you're a better googler than I am :)