Hi list members, I am new to apple scripting and was wondering how can I get a script to only run on OS X Yosemite? Right now, my script runs on on everything; from OS X 10.8 to 10.9. But I want to be able to tell the user that my script should only run if they have Yosemite. I tried considering numeric strings set _newEnough to _versionString ≥ “10.10.1" end considering I get the error The variable _versionString is not defined. Pretty much what I want is to check the OS version. If it’s 10.10.1, it will run, otherwise, it should display that the script can run only on Yosemite then exit out. How best can I achieve this? P.S.: I am writing these scripts using OS X 10.9.5. |