Hi
I’m a real newbie. So I need some help.
I want to make a script that sets teh energy saver pref to presentation mode, and if it is in presentation mode, sets back to automatic.
Here is how far i got:
tell application “System Preferences”
activate
set current pane to pane “com.apple.preference.energysaver”
set menu item “Optimize Energy Settings” to menu “presentation”
–tell application “System Preferences” to quit
end tell
Hope I can get some help her:-)
Thanks
Hans g