• 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
Avoiding A System Events Password
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Avoiding A System Events Password


  • Subject: Avoiding A System Events Password
  • From: Luther Fuller <email@hidden>
  • Date: Thu, 13 May 2010 11:53:12 -0500

I've been working on a script to convert an emlx file to a pdf file. It uses "CUPS-PDF" which I installed earlier this week. It works, but there's one little problem. The script requires that "Enable access for assistive devices" is checked. Here's the script ...

tell application "System Events"
set UIStatus to UI elements enabled
set UI elements enabled to true
end tell


-- do lots of stuff here, including a couple of lines of UI scripting
tell application "System Events" to set UI elements enabled to UIStatus

The user can change "Enable access for assistive devices" manually via the Universal Access pref pane without entering a password. And, if it's already checked, the script above works perfectly.

If it's NOT checked, the problem appears.
System Events always asks for a user password
when changing UI elements enabled .

There is no reason for System Events to require a password, since the user can make the change manually without one. This is very annoying!

Does anyone know a way around this problem?

 _______________________________________________
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: Avoiding A System Events Password
      • From: Bill Cheeseman <email@hidden>
    • Re: Avoiding A System Events Password
      • From: "Stockly, Ed" <email@hidden>
  • Prev by Date: Re: Geeting Error "Microsoft Word got an error. Connection is invalid"
  • Next by Date: Re: Scripting Bridge usage, iPhoto example
  • Previous by thread: Re: Scripting Help Viewer?
  • Next by thread: Re: Avoiding A System Events Password
  • Index(es):
    • Date
    • Thread