Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

3
how do I add logic to my code, so the buttons that I coded before the if then statement don't all activate the script inside the if then statement, and only the Google Sign In button does
Post Body

display dialog "hello, please select the following buttons to sign in to different predetermined websites" buttons {"Google Sign In", "Reddit Sign In", "Facebook Sign In"} with title "Login Options"
if true then
    set theEmail to text returned of (display dialog "enter your Email" with title "Google Sign In" default answer "" buttons {"Cancel", "Proceed"} default button 2)

    set myPassword to text returned of (display dialog "enter your Password" with title "Google Sign In" default answer "" buttons {"Cancel", "Log In"} default button 2)

    tell application "Safari"
        activate
        open location "https://mail.google.com"
        tell application "System Events"
            delay 5
            keystroke theEmail
            keystroke tab
            keystroke myPassword
            delay 1
            keystroke enter

        end tell
    end tell
end if

Author
Account Strength
60%
Account Age
3 years
Verified Email
Yes
Verified Flair
No
Total Karma
46
Link Karma
6
Comment Karma
6
Profile updated: 5 days ago
Posts updated: 4 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
3 years ago