• 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: remember in keychain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: remember in keychain


  • Subject: Re: remember in keychain
  • From: Peter Baxter <email@hidden>
  • Date: Wed, 19 Dec 2007 06:05:51 +1100

Tom's method of using the password does not answer your problem.  You wish to use the Keychain to access the password.  Here is a segment of script that will do this is:

tell application "Keychain Scripting"
set myKey to "Your computer's sharing name"
tell keychain 1
set chosenKey to the first key whose name is myKey as string
set adminpwd to the password of chosenKey as string
end tell
end tell

The first time you run this script to get the password, you will need to authorise Script Editor twice to run the script.  From then, your Periodic scripts will run without needing to be authorised.
Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users This email sent to email@hidden
References: 
 >remember in keychain (From: tom evans <email@hidden>)
 >Re: remember in keychain (From: "parag vibhute" <email@hidden>)

  • Prev by Date: FW: [sd-talk] SD4 returning incorrect results
  • Next by Date: Re: remember in keychain
  • Previous by thread: Re: remember in keychain
  • Next by thread: Re: remember in keychain
  • Index(es):
    • Date
    • Thread