Hi all, maybe someone could help me. I’m trying to automate the deletion of accounts in Authenticator extension.
My code it works almost fine, but I’m not sure why is having some weird behavior when finishes, since instead to exit from Authenticator extension after deleting all accounts, the mouse goes to positions I’m not telling it to go.
Additionally, if there is no accounts or after deletes the last account, gives error in the command that clicks in “Yes” button. XClick | 4Yes_dpi_108.png
If someone could give a try to fix my current code, I’m attaching the exported macro with its images used by 4 XClick
commands DeleteAuthenticatorAccounts.zip (4.9 KB).
And can import the tests accounts I show below doing this.
Click in Authenticator Settings -> Backup -> Import Backup -> Import Text Backup -> Paste the text below -> Finally click in Import Text Backup
Test accounts:
otpauth://totp/Coinbase:test1%40testemail.com?secret=Thisisatest&issuer=Coinbase otpauth://totp/eBay:test6%40test-email.com?secret=Thisisatest&issuer=eBay otpauth://totp/Evernote:test5%40test-email.com?secret=Thisisatest&issuer=Evernote otpauth://totp/DreamHost:test4%40test-email.com?secret=Thisisatest&issuer=DreamHost
This is the macro in json:
{
"Name": "DeleteAuthenticatorAccounts",
"CreationDate": "2024-4-9",
"Commands": [
{
"Command": "store",
"Target": "true",
"Value": "!errorignore",
"Description": ""
},
{
"Command": "XDesktopAutomation",
"Target": "true",
"Value": "",
"Description": ""
},
{
"Command": "XClick",
"Target": "1_dpi_108.png",
"Value": "",
"Description": ""
},
{
"Command": "XClick",
"Target": "2pen_dpi_108.png",
"Value": "",
"Description": ""
},
{
"Command": "visualVerify",
"Target": "3Del_dpi_108.png",
"Value": "",
"Description": ""
},
{
"Command": "while_v2",
"Target": "${!statusOK}",
"Value": "",
"Description": ""
},
{
"Command": "XClick",
"Target": "3Del_dpi_108.png",
"Value": "",
"Description": ""
},
{
"Command": "XClick",
"Target": "4Yes_dpi_108.png",
"Value": "",
"Description": ""
},
{
"Command": "visualVerify",
"Target": "3Del_dpi_108.png",
"Value": "",
"Description": ""
},
{
"Command": "end",
"Target": "",
"Value": "",
"Description": ""
},
{
"Command": "XType",
"Target": "${KEY_ESC}",
"Value": "",
"Description": ""
},
{
"Command": "store",
"Target": "false",
"Value": "!errorignore",
"Description": ""
}
]
}```
The steps to delete each account are below in text and with an image:
1-) Click in Authenticator App
2-) Click in pencil icon
3-) Loop to click in each red circle to delete each account
4-) Confirm for each account clicking in “Yes” button.
Thanks in advance.