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

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.


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 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.


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/


How do you password protect the folders in your documents?

In my opinion, you need a tool. There are a lot of good password protection tools. You can search "password protect folder" or "lock folder" etc. to find a proper one for yourself. Usually there are two types of encryption methods: 1. Create one password for whole your disk and drag all folders and files to this disk to protect them. This only asks you to set one password for all of them. But if you want to set separate passwords to protect different folder or files, this kind of software will not help you. 2. Create one password for every folder. You can drag files to one folder and set a password for this folder. This will fix the above trouble, that you can set uniform password for different kinds of files. The disadvantage is you must remember a list of passwords.