Re: XCode 2.4 Affects "do shell script"?
Re: XCode 2.4 Affects "do shell script"?
- Subject: Re: XCode 2.4 Affects "do shell script"?
- From: Marconi <email@hidden>
- Date: Tue, 17 Oct 2006 23:30:09 -0700
At 12:04 PM -0700 10/17/06, Christopher Nebel sent email regarding
Re: XCode 2.4 Affects "do shell script"?:
On Oct 17, 2006, at 6:47 AM, Marconi wrote:
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.
Exactly how are you running your script when you see the dialog?
From my Scripts menu in the MenuBar.
The problem disappeared when I removed the Intego VirusBarrior X4
demo I had installed. It could be a coincidence but I believe more in
cause-and-effect than coincidence. ;-)
_______________________________________________
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