• 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
XCode 2.4 Affects "do shell script"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode 2.4 Affects "do shell script"?


  • Subject: XCode 2.4 Affects "do shell script"?
  • From: Marconi <email@hidden>
  • Date: Tue, 17 Oct 2006 06:47:21 -0700

I have a pair of one line scripts:

do shell script "pmset -a dim 1" password "xxxxxx" with administrator privileges
and
do shell script "pmset -a dim 60" password "xxxxxx" with administrator privileges


I use these to set the Energy Saver pref pane to dim the screen in 1 and 60 minutes, respectively.

Each time I invoke these now, I receive a dialog:"System Event requires that you type your password."

The only change I've made recently was to upgrade my XCode dev tools to 2.4. That's it.

Was there something in 2.4 that changed the rules?

Curiously, when I run the scrip from within Script Editor, it works and I get no password dialog.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: XCode 2.4 Affects "do shell script"?
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: Dumb performance question: tell blocks
  • Next by Date: Re: Dumb performance question: tell blocks
  • Previous by thread: Re: Dumb performance question: tell blocks
  • Next by thread: Re: XCode 2.4 Affects "do shell script"?
  • Index(es):
    • Date
    • Thread