• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Any ideas on adjusting monitor brightness via AppleScript?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Any ideas on adjusting monitor brightness via AppleScript?


  • Subject: Any ideas on adjusting monitor brightness via AppleScript?
  • From: Henrik Boes <email@hidden>
  • Date: Wed, 7 Jan 2004 10:37:46 -0700

One way (perhaps not the most elegant) would be to use GUI scripting (requires OS X 10.3.x):

tell application "System Preferences"
activate
set current pane to pane "com.apple.preference.displays"
tell application "System Events"
set value of slider 1 of group 2 of tab group 1 of window "Color LCD" of process "System Preferences" to 0.8
end tell
end tell

Obviously, the name of the window and the value of the slider will be different in your case.

HTH.

Henrik Boes
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: curl vs. wget (was Re: script browsing)
  • Next by Date: Synchronization between FileMaker and AddressBook
  • Previous by thread: Any ideas on adjusting monitor brightness via AppleScript?
  • Next by thread: Click on Show All
  • Index(es):
    • Date
    • Thread