How to Create a Simple Log In Application in Applescript Editor

Open AppleScript Editor; , Copy and Paste the code below: tell application "Finder" set passAns to "I prove that I'm not a spy, and I will always follow the all of rules in Application app I prove-it completely., Save the file and you are done.

4 Steps 1 min read Medium

Step-by-Step Guide

  1. Step 1: Open AppleScript Editor;

    Yes to it!" if the text returned of (display dialog "Hello, welcome to DeskSet-Math! Thank you, for visiting.

    Please look at the code a decide that you 'prove' that you are not a spy, and that you will always follow the rules.

    If you don't agree, type-in the code I don't agree Thank You!______________________________________________________" & return & "" default answer "I prove that I'm not a spy, and I will always follow the all of rules in Application app I prove-it completely.

    Yes to it!" buttons {"Cancel"

    " I Prove-it and Continue... "} with icon stop with title "Application (Locked)" default button 2) is passAns then display dialog "Loged-in! Thank You!" else display dialog "Sorry if you don't aggre, you are not allowed to open this app.

    Please click Okay I Cancel to close, or if you still want to enter, just re-open this app.______________________________________________" buttons {"Okay I Cancel"} with icon stop with title "Application (Can't Open)" default button 1 end if end tell ,
  2. Step 2: Copy and Paste the code below: tell application "Finder" set passAns to "I prove that I'm not a spy

  3. Step 3: and I will always follow the all of rules in Application app I prove-it completely.

  4. Step 4: Save the file and you are done.

Detailed Guide

Yes to it!" if the text returned of (display dialog "Hello, welcome to DeskSet-Math! Thank you, for visiting.

Please look at the code a decide that you 'prove' that you are not a spy, and that you will always follow the rules.

If you don't agree, type-in the code I don't agree Thank You!______________________________________________________" & return & "" default answer "I prove that I'm not a spy, and I will always follow the all of rules in Application app I prove-it completely.

Yes to it!" buttons {"Cancel"

" I Prove-it and Continue... "} with icon stop with title "Application (Locked)" default button 2) is passAns then display dialog "Loged-in! Thank You!" else display dialog "Sorry if you don't aggre, you are not allowed to open this app.

Please click Okay I Cancel to close, or if you still want to enter, just re-open this app.______________________________________________" buttons {"Okay I Cancel"} with icon stop with title "Application (Can't Open)" default button 1 end if end tell ,

About the Author

A

Ashley Phillips

A seasoned expert in lifestyle and practical guides, Ashley Phillips combines 4 years of experience with a passion for teaching. Ashley's guides are known for their clarity and practical value.

152 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: