Re: Permitting a script to only run on OS X Yosemite
Re: Permitting a script to only run on OS X Yosemite
- Subject: Re: Permitting a script to only run on OS X Yosemite
- From: Chris Page <email@hidden>
- Date: Fri, 16 Jan 2015 04:52:25 -0800
On Jan 4, 2015, at 11:53 PM, Daniel Chavez < email@hidden> wrote:
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 are you running the script? If it's an applet, you can put a "minimum required OS version" value in the Info.plist and the system will display an alert and refuse to open it:
LSMinimumSystemVersion
-- Chris Page The other, other AppleScript Chris
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden