Skip to content

Instantly share code, notes, and snippets.

@bak
Created July 23, 2010 05:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bak/487061 to your computer and use it in GitHub Desktop.
Save bak/487061 to your computer and use it in GitHub Desktop.
#!/usr/bin/osascript
-- This script uses rooSwitch to switch Notational Velocity to the "encrypted" profile.
tell application "rooSwitch"
tell document "Notational Velocity.rooSwitch" to tell profile "encrypted" to make active with allow quit
end tell
tell application "Notational Velocity" to activate
tell application "rooSwitch" to quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment