Re: Keychain scripting
Re: Keychain scripting
- Subject: Re: Keychain scripting
- From: travis n <email@hidden>
- Date: Sat, 15 May 2004 01:30:58 -0500
Greetings David,
Yes, this is what I have found as well, constructs that contain
"contain" don't seem to work with keychain key properties. I also have
resorted to repeating through the list.
I have seen a claim elsewhere that exact comparisons such as {keys of
current keychain whose name is "Test"} works, but I have not had reason
to test it.
-travis n
____________________
I asked myself, frightened and rapt, who was she who rose before me
like the dawn, beautiful as the moon, radiant as the sun, terribilis
castorum acies ordinata.
-from "The Name of the Rose" by Umberta Eco
On May 15, 2004, at 12:22 AM, David Crowe wrote:
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.
_______________________________________________
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.