Hello list, If this is off-topic, my apologies. I’m writing an apple script, but I only want it to run on Yosemite or better. 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. How best can I achieve this? P.S.: I am writing these scripts using OS X 10.9.5. Thanks for any help.
-- You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to macvisionaries+unsubscr...@googlegroups.com. To post to this group, send email to macvisionaries@googlegroups.com. Visit this group at http://groups.google.com/group/macvisionaries. For more options, visit https://groups.google.com/d/optout.