Jump to content
SanityFox

Launching a website and auto filling 1Password login info

Recommended Posts

My apologies if someone has already published this workflow, or there's an obvious answer, but searching the forums is painful and after half an hour, I haven't found what I'm looking for. 

 

I want to build several different workflows using 1Password and a non-default browser. For example:

 

keyword AMZ launches FireFox, loading amazon and filling in the login information. 

 

In this case, FireFox is NOT the default web browser, and I've set it to permanently launch in incognito mode. 

 

Any help would be greatly appreciated. I've tried launching bookmarks from 1Password 7, but it doesn't seem to work. I must be doing something wrong.

 

 

Thanks for any help that anyone can provide. 

Share this post


Link to post

Hi @SanityFox, welcome to the forum.

 

As a rule, the way 1Password integration works is that you call 1Password with the UUID of the bookmark you want to open and 1Password takes care of the opening, filling and logging in. And AFAIK, it always uses the system default browser, with no way to tell it to use any other app. So it can't be done cleanly.

 

I see two hacky options: 

 

Search 1Password's 3rd-party integration JSON, open the selected item's URL in the specific browser, make sure the browser is activated, wait for a bit while the page loads (you'll have to guess here), and then simulate the keyboard shortcut for the browser's 1Password extension.

 

Alternatively, you could try switching your default browser with duti, asking 1Password to open the bookmark, then switching the default browser back again (after waiting long enough for 1Password to open the bookmark).

Share this post


Link to post
Posted (edited)

Thanks @deanishe. Is there a way to set a work flow to launch Firefox, and the proper URL, (which I can already do),add the time delay, and then just have the workflow run the proper keystroke for activating the mini launcher?

Edited by SanityFox

Share this post


Link to post

I have been screwing around with AppleScript in an effort to do so, but I can't seem to get the correct command for  they key combination: command \

Share this post


Link to post

@deanishe Perfect, thank you. I was able to build out a script for two sites I wanted to always log into incognito, while also going through the tedious task of doing 2FA. Now it's all a keystroke from Alfred. Much obliged.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...