Re: AppleScript System Events help
Re: AppleScript System Events help
- Subject: Re: AppleScript System Events help
- From: Christopher Stone <email@hidden>
- Date: Thu, 11 Feb 2016 03:08:59 -0600
On Feb 10, 2016, at 21:59, Denny Davis <email@hidden> wrote:
I am trying to update an AppleScript that was in the Safari Services v1.3 group of Services.
______________________________________________________________________
Hey Denny,
I think this is what you're looking for.
------------------------------------------------------------------- on GUIScripting_status() # Check to see if assistive devices is enabled tell application "System Events" to set UI_enabled to UI elements enabled if not UI_enabled then tell application "System Preferences" activate set current pane to pane id "com.apple.preference.security" tell pane id "com.apple.preference.security" reveal anchor "Privacy_Accessibility" end tell end tell end if return UI_enabled end GUIScripting_status
GUIScripting_status() -------------------------------------------------------------------
|
_______________________________________________
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