Applescript for verification emails

johnyn's picture
No votes yet

I created an AppleScript to automate clicking the verification link and signing in. The script is messy...I just wrote it and used it today and haven't cleaned it up or commented at all.

The workflow I'm using it with is like this:

Use the Apple ID creator script, using the same password for all of the accounts.
Setup an Outlook rule to move verification emails to a folder named "AppleVerify".
Create another folder named "AppleVerifyDone".
Then I run this script.

The script will scan through AppleVerify to grab the verification link and the apple id, opens safari to that link, input the Apple ID, and inputs the password. Then it closes the safari window and moves the email to AppleVerifyDone.

Again, it's really messy and it will probably break for you since I wrote it specifically for my workflow. But I figure it might help someone out.

Rename .txt to .scpt
Edit the idpassword and emaildomain variables

Recent Activity