Skip to content

Instantly share code, notes, and snippets.

@swinton
Created August 22, 2010 23:04
Show Gist options
  • Select an option

  • Save swinton/544394 to your computer and use it in GitHub Desktop.

Select an option

Save swinton/544394 to your computer and use it in GitHub Desktop.
# via http://www.geekology.co.za/blog/2009/02/mac-os-x-quick-tip-launch-screen-saver-with-bash-script-using-applescript/
tell application id "com.apple.ScreenSaver.Engine" to launch
# to interrupt screensaver:
#osascript -e 'tell application id "com.apple.ScreenSaver.Engine" to quit'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment