XCode 2.4 Affects "do shell script"?
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