Re: set the monitor stop
Re: set the monitor stop
- Subject: Re: set the monitor stop
- From: deivy petrescu <email@hidden>
- Date: Sun, 16 Apr 2006 12:21:24 -0400
On Apr 16, 2006, at 5:40, email@hidden wrote:
Where I wrong?
(Applescript tell me it's wrong "slider 2"):
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.energysaver"
end tell
tell application "System Events"
tell process "System Preferences"
tell window "Risparmio Energia"
set theSlider to slider 2 of tab group 1 of group 1 of window
"Energy Saver"
set the value of theSlider to 1
end tell
end tell
end tell
thanks.
ste
Too much information!
That is what is wrong. Try:
<script>
tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.energysaver"
end tell
tell application "System Events"
tell process "System Preferences"
tell window "Risparmio Energia"
set theSlider to slider 2 of tab group 1
set the value of theSlider to 1
end tell
end tell
end tell
</script>
Deivy
_______________________________________________
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