answersLogoWhite

0

for example, to password protect safari, copy this into applescript editor and change where it says --password--.

display dialog "Please enter password to access the internet." default answer "" buttons {"enter"} default button 1

set theResult to text returned of the result

if theResult is "--password--" then

display dialog "Thank you" buttons {"Continue to Internet"} default button 1

tell application "Safari" to activate

tell application "System Events"

tell process "Safari"

click menu item "New Window" of menu "File" of menu bar 1

end tell

end tell

else if theResult is not "--password--" then

beep 2

end if

end

end

hope it helps!

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

Where can one find an Applescript tutorial?

If you are interested in learning about Applescript and using a tutorial, you can find many at the MacScripter website. You could also find tutorials on the HackMac website.


How do you protect a folder using password?

if you want to password protect folders on your computer you can use a password protection software, saying Kakasoft Advanced Folder Encryption(http://www.kakasoft.com/folder-encryption),open it and set password to protect you data easily.


How do I use the password protection on my flash drive?

how do I password protect my flash drive, im using a Mac laptop


What is the advantage of using a hard drive password over a power-on password or Windows password?

If the hard drive is moved to another system. The password will protect the hard drive.


Access to a computer can be controlled using a password?

Yes.....go to 'Control Panel' in your Start Menu >>Select 'User Accounts', you can password protect your computer from there.


How can you stop your sister using your computer?

If you can, password protect so that after the screensaver starts it requires a password to gain entry again. Set your screensaver to start after a one minute delay.


How would you place a password on a file?

You must first compress your files by zipping them or by using a program such as WinRAR to put a password on them. To Zip them, right click on the files you choose and click Send to, Compressed file. Under the Security tab, create the password you choose. As it compresses, it adds the password on it.


What is the tsearch tool used for?

The Tsearch tool is a simple AppleScript that allows you to search for torrents that you can download. You need to be using the program known as Camino.


Can you password protect documents on Google Docs?

Google doesn't give this feature directly but there are apps such as Innovode Armor that can password protect files and documents. Alternatively to password protect a google spreadsheet you can use google scripts. Using scripting there are two options - encrypt and decrypt. You need to set a password first. Once you encrypt, all the text will be obfuscated and unreadable. To read it, you need to decrypt it again with the same password.


What are some password suggestions for the online Food Lion application?

When creating a password for the Food Lion application, consider using a mix of upper and lower case letters, numbers, and special characters. For example, you could use phrases like "Grocery#2023!" or "FreshFood&123". Ensure your password is at least 12 characters long and avoid easily guessable information like birthdays or common words. Additionally, consider using a password manager to help generate and store complex passwords securely.


How do you know the application number on the PRC board exam ratings?

You can find your application number on the PRC board exam ratings by checking your exam permit or by logging into the official PRC website using your username and password to view your examination records, including your application number.


Can you make password to protect your USB flash drive?

If you are using Win 7 or Win 8 , you can find Bitlocker in control panel, this feature is able to password protect flash drives. But if you are using other OSes, you can try to use 3rd party software. I recommend you to use USB security, which is also free and easy to use. http://www.kakasoft.com/usb-security/