Our own Jamie Phelps has put together a couple of [Automator Workflows](http://www.macosxautomation.com/automator/index.html) for Mac OS X which can be used to quickly hide or minimize 1Password and lock it at the same time. You can add a shortcut key and make it all happen with a single key combination!
*Using the directions that follow will require Snow Leopard on a Mac.*
Here’s how to make the magic happen:
1. [Download the Automator Workflows](http://cdn.agile.ws/brett/1PAutomatorWorkflows.zip).
2. Unzip the archive (double click it) and move the .workflow files to **your user folder > Library > Services**.
* If you don’t have a Services folder in your user account’s Library folder, create it, making sure to capitalize the “S”.
The Workflows will now be available in your Services menu, which you can access from **Application > Services** or by right-clicking and selecting them from the contextual menu. If you have more than a few Services available, they may be in a submenu titled Services.
You can also replace the Command+H shortcut in 1Password–which normally hides the application–with the Hide and Lock Workflow to make things even easier:
1. Go to System Preferences, open the Keyboard panel and select Keyboard Shortcuts.
1. Go to Application Shortcuts on the left and then click the plus button to add a new shortcut. Make sure to set the application to 1Password.
1. Set the menu title to “Hide 1Password” (without quotes, but with the same capitalization).
* It’s not possible to delete a keyboard shortcut, so set it to something complicated that you’re not likely to press, such as Command+Option+Control+Shift+H.
1. Click the Services group and scroll down to the General section. Set the keyboard shortcut for Hide and Lock 1Password to Command+H by double clicking in the empty white space to the far right of the service name.
Now, when you press Command+H to hide 1Password, it will invoke your custom service to both hide 1Password *and* lock it. You can repeat this process for the Minimize menu item to reassign the Minimize keyboard shortcut to Minimize and Hide 1Password.
These Workflows assume that 1Password is installed at `/Applications/1Password.app`. You’ll need to modify the path if your copy of 1Password is installed somewhere else.
Here’s the [download link](http://cdn.agile.ws/brett/1PAutomatorWorkflows.zip) again. Enjoy!