• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Password Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: OS 9.2.2 and AppleScript
  • Next by Date: RE: Capturing current handler name in a string variable
  • Previous by thread: Re: OS 9.2.2 and AppleScript
  • Next by thread: How do we make a simple open folder script?
  • Index(es):
    • Date
    • Thread