• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AppleScript System Events help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript System Events help


  • Subject: Re: AppleScript System Events help
  • From: Denny Davis <email@hidden>
  • Date: Thu, 11 Feb 2016 19:36:52 -0800

This bit runs ok in testing, which is good, however it does not solve my basic problem.

Once I get to the proper Preference Pane, I need to Set some App to be able to control my Computer.

The Problem is what App to set. 

I need to set some particular App to have permission to control my Computer and right now I don’t know of any, so that means I can’t fix the script properly.

So is there a way to get the Script to Run, with the current OS X 10.11.4?

On Feb 11, 2016, at 01:08 , Christopher Stone <email@hidden> wrote:

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.

--
Best Regards,
Chris

-------------------------------------------------------------------
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

  • Follow-Ups:
    • Re: AppleScript System Events help
      • From: Bill Cheeseman <email@hidden>
References: 
 >AppleScript System Events help (From: Denny Davis <email@hidden>)
 >Re: AppleScript System Events help (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: Sparkle updater check vulnerability script
  • Next by Date: Re: AppleScript System Events help
  • Previous by thread: Re: AppleScript System Events help
  • Next by thread: Re: AppleScript System Events help
  • Index(es):
    • Date
    • Thread