I love caffeine, but I really wish it were just a keyboard shortcut or perhaps a command line / terminal command. Has anyone figured out a way to activate / deactivate Caffeine using another method besides clicking?
1 Answer
Caffeine has a tiny AppleScript dictionary:
tell application "Caffeine"
if active then
turn off
else
turn on
end if
end tell
-
-
1