Brightness Shortcut: Mac

osascript -e 'tell application "System Events"' -e 'repeat 10 times' -e 'key code 107' -e 'end repeat' -e 'end tell' # decrease osascript -e 'tell application "System Events"' -e 'repeat 10 times' -e 'key code 113' -e 'end repeat' -e 'end tell' # increase (Or use brightness 0.5 if you install the brightness CLI tool.)

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

osascript -e 'tell application "System Events"' -e 'repeat 10 times' -e 'key code 107' -e 'end repeat' -e 'end tell' # decrease osascript -e 'tell application "System Events"' -e 'repeat 10 times' -e 'key code 113' -e 'end repeat' -e 'end tell' # increase (Or use brightness 0.5 if you install the brightness CLI tool.)

Discover more from Simon Philp

Subscribe now to keep reading and get access to the full archive.

Continue reading