• 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: Run with keychain scripting....
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run with keychain scripting....


  • Subject: Re: Run with keychain scripting....
  • From: David Crowe <email@hidden>
  • Date: Fri, 23 Jan 2004 08:43:25 -0700

Gnarlodius;

Thanks for your attempt to help on keychain scripting, but my real question is how you get "machineKey" in the following script, if you only know it's name (or a prefix for the name):

tell application "Keychain Scripting"
set theUser to account of machineKey
set thePassword to the password of machineKey
set theServer to the server of machineKey
set theProtocol to the protocol of machineKey as string
end tell


I'd like to say something like:

tell application "Keychain Scripting"
tell keychain "David"
set theKey to key whose name is "www.iCab.de"
end tell
end tell


I can do use "set theKey to key 37", but the only way to extract a key by name is to do a laborious scan through the entire list.

I'm assuming that this is a limitation of the keychain.

- David Crowe
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Run with keychain scripting....
      • From: Rob Jorgensen <email@hidden>
  • Prev by Date: Re: styled text to record, ok. But record to styled text?
  • Next by Date: Re: Run with keychain scripting....
  • Previous by thread: Re: styled text to record, ok. But record to styled text?
  • Next by thread: Re: Run with keychain scripting....
  • Index(es):
    • Date
    • Thread