How can I use Keyboard Maestro (and 1Password) to log in into Fastmail in Fastmate?
I use Fastmate instead of a browser for Fastmail. As a result, I cannot use 1Password’s AutoFill feature to log in. Currently I use 1Password Mini and have to swap 3x between Fastmate and 1Password to fill in these details:
Username
Password
OTP code
I was hoping to automate this using Keyboard Maestro (v9) but I fail to do so…
Somehow 1Password/KM9 fails to handle 3 Copy actions in a row? Only 2 seem to work (most often: username and OTP code, but not password)
Who can help me to get this to work?
This is what I currently try:
Type ⌥⌘\ keystroke to open 1Password Mini
Pause until OCR sees “Generate Password” on main screen
Simulate keystroke ← (“Forward Delete”) to clear 1Password Mini’s input field
Select your actions and then under the “Edit” menu there’s copy as image. Just bear in mind that it’s hard to read on mobile and there are several users who have visual impairments on this forum - text is much easier to read than an image (especially for screen readers)
While debugging this I noticed that the fans of my MacBook Pro are working very hard, as is the CPU (Keyboard Maestro engine using most of the cycles)…
After adding a lot of (OCR) actions to verify that a screen (element) is actually present before interacting with it the macro (finally) started to work!
While it’s cool to use the v9 OCR function (to feel right about upgrading), is there a better way than OCR to check this?