Lock the 1Password Keychain with a QuickSilver Trigger
Earlier today I was looking for a way to lock the 1Password keychain using a keyboard shortcut. The easiest way I could think of doing this is with QuickSilver (namely, a QuickSilver trigger). I found this forum post that describes a terminal command that can be used to lock keychains. I put together the attached script so that this can easily be setup as a QuickSilver trigger. It’s a really simple script, only one line of code:
security lock-keychain 1Password.keychain (Note: this only works if using the OS X keychain and not the Agile Keychain format)
If you have upgraded to the Agile Keychain (and you should have by now!) you can use this command instead:
/Applications/1Password.app/Contents/Executables/lock1p
The resulting QuickSilver trigger looks like this:
You can download the script here:
Then setup QuickSilver as show in the image above.
A quick video on how to do this can be seen here:



7 Comments