• 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: unwanted password dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unwanted password dialog


  • Subject: Re: unwanted password dialog
  • From: Bill Cheeseman <email@hidden>
  • Date: Tue, 01 Nov 2011 12:32:55 -0400


On Nov 1, 2011, at 12:14 PM, Luther Fuller wrote:

I only discovered the problem when I tested the script in Lion. Prior to that, in previous systems, I had been able to simply ...

tell application "System Events" to set UI elements enabled to ...

with no problem and no password.

I have extensive experience with the accessibility API and GUI Scripting, and as far as I recall this AppleScript command has always required authentication on every version of the OS in which it was available. The only situations where it does not require authentication are, as I recall, if you already authenticated within the last 5 minutes or so, or, theoretically, if you are running as root (I've never tried to run a script as root).

-- 

Bill Cheeseman - email@hidden

 _______________________________________________
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

References: 
 >Re: unwanted password dialog (From: Axel Luttgens <email@hidden>)
 >Re: unwanted password dialog (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: unwanted password dialog
  • Next by Date: Re: unwanted password dialog
  • Previous by thread: Re: unwanted password dialog
  • Next by thread: Re: unwanted password dialog
  • Index(es):
    • Date
    • Thread