• 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
Keychain scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Keychain scripting


  • Subject: Keychain scripting
  • From: David Crowe <email@hidden>
  • Date: Fri, 14 May 2004 23:22:10 -0600

Travis n wrote:
Now I have the problem, that I can get a listing like:

get every key of keychain "login.keychain"
{generic key 1 of keychain "login.keychain", generic key 2 of
keychain "login.keychain", generic key 3 of keychain "login.keychain",
generic key 4 of keychain "login.keychain", generic key 5 of keychain
"login.keychain", generic key 6 of keychain "login.keychain", .....}

but I cannot extract data any further such as name and account, but I
may be missing something easy here...

-travis n


... this is the problem I was describing. If you first get a reference to a key you can then get the name of it (or the password, if applicable).

But, since you don't seem to be able to select easily (e.g. where name contains "Yahoo" ... fails) the best method I have found is to scan the list checking the names as I go.

Inefficient, but it works.

- 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: Keychain scripting
      • From: travis n <email@hidden>
  • Prev by Date: Re: Keychain scripting...
  • Next by Date: Re: Keychain scripting...
  • Previous by thread: Re: keychain scripting
  • Next by thread: Re: Keychain scripting
  • Index(es):
    • Date
    • Thread