Archive for the 'Wednesday One Liner' Category

Wednesday One Liner : Screen Saver

Activate your screen saver from a shell script via osascript:


osascript -e ‘tell application “ScreenSaverEngine” to activate’

Alternatively, if you want to quit the screen saver:


osascript -e ‘tell application “ScreenSaverEngine” to quit’