Check which version of Excel is installed

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
japino
Posts: 78
Joined: Sun Oct 14, 2012 10:56 am

Check which version of Excel is installed

Post by japino » Thu Jul 21, 2016 4:12 pm

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.

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Check which version of Excel is installed

Post by Klaus » Thu Jul 21, 2016 6:03 pm

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

japino
Posts: 78
Joined: Sun Oct 14, 2012 10:56 am

Re: Check which version of Excel is installed

Post by japino » Thu Jul 21, 2016 9:14 pm

Thank you Klaus, you're a better googler than I am :)

Post Reply