Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Joelc
4 years agoSuper Contributor
1Password for Mac is Not Scriptable!
I have an AppleScript that on macOS startup opens a number of applications, opens their related files, and properly positions their windows.
It was time to add 1Password to AppleScript but when I ...
Anonymous
4 years agoJoelc I don't have a pure AppleScript solution for you. I needed a solution how to take into account the opened as well as the locked 1Password Mini. Also, my script knowledge is not the best.
I found a solution using the app https://www.keyboardmaestro.com/main/.
Here is an example of it:
https://share.getcloudapp.com/Z4uor6WQ
https://share.getcloudapp.com/Z4uor6WQ
Here is the macro I use:
Yellow: Shortcut to call the 1Password Mini.
Green: If Then action (screenshots) that checks if the 1Password Mini is unlocked/locked.
Red: Name of the password - here @iMac
In this example, the 1Password Mini is already unlocked. If it is not, the Keyboard Maestro macro pauses and waits for the master password to be entered before proceeding with the autofill.
In this tweet, the autofill login is triggered with the launch of the app (Cryptomator) and then the Finder window is resized for the correct size.
https://twitter.com/myapfelworld/status/1402365620566597635
Here is a YouTube tutorial (unfortunately in German):
https://www.youtube.com/watch?v=BHaVE9PSE2A
Please note that the script to open the 1Passowrd Mini unfortunately does not work anymore. Therefore I had to resort to the shortcut.