Hide and Lock 1Password at the same time!

automatoricon12523.pngOur 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!

17 replies
  1. Tony Mourkas
    Tony Mourkas says:

    Hi – Clicking on either link for the automator workflows leads me to a page that states “access denied”. :-(


    • Brett
      Brett says:

      Sorry for the delayed reply, Thom. You’re correct, you want to look in yourusername/Library for a Services folder, and if it doesn’t exist, you can just create one (with a capital S). If you drop the services in there, they should automatically show up in your Services menu. Check back and let us know if you need any help getting it set up!

  2. Balázs
    Balázs says:

    Hi Guys!

    I love 1Password and spreading the word of it to my friends as well.

    One request for the blog: is it possible to include the whole text in the RSS feed?



  3. adams
    adams says:

    yes! it all works! thanks! not only does it work perfectly, but it gave me some good ideas on how to use automator for some other un-related things.

    as always, thanks for the excellent apps! I tell everyone I know that they should be using 1Password…

    • Brett
      Brett says:

      Hi Yohan,

      Identities are currently one of the few pieces of information we don’t sync to the app, primarily because there’s not a great way to fill them in Safari at this point. However, it’s likely that it will show up in upcoming versions, so keep an eye out!

    • Jamie Phelps, Code Wrangler
      Jamie Phelps, Code Wrangler says:

      Yohan, to what Brett said I’d add that the Identities do sync to 1Password on the iPhone but they do not have a UI. If you make a change, sync over Wi-Fi to iPhone, and then sync over Wi-Fi to 1Password on another Mac (like between work and home for instance) the change would show up on the other Mac. We do want to put a UI on this in a future release, but we don’t have a timeframe to share right now.

      Jamie Phelps, Code Wrangler
      Agile Web Solutions

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.