6

Would it be possible to automatically dim (turn off) keyboard backlight if media player (namely VLC) is playing?

Could it for example be coded with applescript?

The use case is I've find myself only dimming the backlight watching movies, so I wouldn't have to manage it manually all the time.

bfontaine
  • 161
  • 12

1 Answers1

3

You can do this by an AppleScript to dim the keyboard then start the VLC player. You can get the script for dimming the backlight from here: https://discussions.apple.com/thread/3371560

(I don't want to violate any copyrights) And to open VLC add following lines at the end,

tell application "VLC" to activate
 end tell

If you are new to AppleScript this would help. http://www.maclife.com/article/columns/terminal_101_running_applescripts_terminal.