Change the screen brightness using AppleScript
Please help!
Thanks
Richard
iBook G4, Mac OS X (10.4.3)
iBook G4, Mac OS X (10.4.3)
tell application "System Preferences" to set current pane to pane "Displays"
tell application "System Events"
tell process "System Preferences"
tell tab group 1 of window 1
click radio button 1
tell slider 1 of group 2
set CurVal to value
set value to CurVal + 0.2
end tell
end tell
end tell
end tell
quit application "System Preferences"
tell application "System Preferences" to set current pane to pane "Displays"
tell application "System Events"
tell process "System Preferences"
tell tab group 1 of window 1
click radio button 1
tell slider 1 of group 2
set CurVal to value
set value to CurVal + 0.2
end tell
end tell
end tell
end tell
quit application "System Preferences"
Change the screen brightness using AppleScript