![]() When you put the above aliases into your. If this is something you see yourself use more often, then it might be worth it to either define an alias or write a small shell script, eg: MacBook:~? alias brightup="osascript -e 'tell application \"System Events\"Īnd: MacBook:~? alias brightdn="osascript -e 'tell application \"System Events\"Īgain, be careful with the quotes. If you want it dimmer, change 113 to 107. Each execution of the script will increase the brightness by one notch. Also, be careful with the quote characters - there's a single quote after the -e option, and then a closing single quote at the end of line 3 above (following the end tell). Please note, that you actually need to press Enter at the end of each line. ![]() ![]() ![]() You can also use Apple Script - if you can ssh into your mac, you can then, in the ssh session, type the following: osascript -e 'tell application "System Events" ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |