Introduction: Create a Password Retriever Using AppleScript! (For Mac)

About: Go away. Stop stalking me. You're weird.

Hi everybody!

We can all relate to that stressful time when you realized that you forgot your password. Sure, you can just send a recovery email but with this app you can recover your password quickly!

Oh, and what if you forgot your email password so you couldn't send the recovery email? This app would help you avoid that stress!

***** I can only write AppleScript as of now... I plan to make one in JavaScript so other users beside Mac can use it. *****

Note:

While this app can help you retrieve your password with a simple security system (asking question about you), the security level is very small and you can't expect high security levels from this app. I plan to add advanced security features later.

Step 1: Open "Script Editor"

Go to finder

Navigate to "Applications."

In the search box type "Script Editor."

Open it

***Note, I have two apps, you should have only one. If you have two, then click on either one.***

Step 2: Copy This Script:

************REPLACE THE CAPITALIZED FONTS************ (DON'T COPY THIS)

****YOU MAY SRAMBLE THE TRUES AND FALSES*****

display dialog "Hello! Welcome to Password Agent."

display dialog "Before we can retrieve your password you must answer some security questions correctly."

display dialog "What is your name?" buttons {"FALSE NAME", "TRUE NAME", "FALSE NAME"}

if the button returned of the result is "TRUE NAME" then

display dialog "Correct, you may advance"

display dialog "What is your favorite color?" buttons {"FALSE COLOR", "FALSE COLOR", "TRUE COLOR"}

if the button returned of the result is "TRUE COLOR" then

display dialog "Correct, you may advance."

display dialog "YOUR CUSTOM QUESTION" buttons {"TRUE", "FALSE", "FALSE"}

if the button returned of the result is "TRUE ANSWER" then

display dialog "Correct, you may advance."

display dialog "Where were you raised when you were a child?" buttons {"FALSE", "TRUE", "FALSE"}

if the button returned of the result is "TRUE" then

display dialog "Correct you may advance."

display dialog "Final question! When is your birthday?" buttons {"TRUE", "FALSE", "FALSE"}

if the button returned of the result is "March third" then

display dialog "You have answered all the questions correctly, click Ok to recover your password."

end if

display dialog "Which of these passwords do you wish to recover?" buttons {"MAIL PROVIDER", "SOCIAL NETWORKING", "APPLE ID/ ANDROID/ GOOGLE PLAY"}

if the button returned of the result is "MAIL PROVIDER" then

display dialog "YOUR MAIL PROVIDER"

else if the button returned of the result is "SOCIAL NETWORKING" then

display dialog "YOUR SOCIAL NETWORKING PASSWORD"

else if the button returned of the result is "APPLE ID/ ANDROID/ GOOGLE PLAY" then

display dialog "YOUR APPLE ID/ ANDROID/ GOOGLE PLAY PASSWORD"

end if

else

display dialog "Incorrect, your session has ended." with icon caution

end if

else

display dialog "Incorrect, your session has ended." with icon caution

end if

else

display dialog "Incorrect, your session has ended." with icon caution

end if

else

display dialog "Incorrect, your session has ended." with icon caution

end if

Step 3: Save As Application

*****First click the triangle "run" button on top to make sure the scripts works properly*****

CMND S to save

Click save as Application

Save in Desktop

**********That's all! If you ever need to change your password, I will make a new instructable on plugging in your new passwords in. **********