Re: Password Script
Re: Password Script
- Subject: Re: Password Script
- From: hcir <email@hidden>
- Date: Thu, 27 Dec 2001 10:28:46 -0900
on UnlockKeyChain()
try
with timeout of 60 seconds
set MyPassword to "pass" --Change this password to your
keychain password
tell application "Keychain Scripting"
set NumberOfKeychains to count keychains
repeat with KeychainNumber from 1 to NumberOfKeychains
set KeychainName to name of keychain KeychainNumber
try
unlock keychain KeychainName with password MyPassword
on error
return false
end try
end repeat
return true
end tell
end timeout
on error
return false
end try
end UnlockKeyChain
I am attempting to have a OS 9.1 machine automount a server on startup.
I have configured the keychain and have an alias in the startup folder.
However on startup it sits and waits for the password to unlock the
keychain. I was wondering if any of you have or know if there is an
applescript that will automate entering the keychain password? Please
let me know if it is available and how I can get it.
- hcir
email@hidden