Re: Fun with Keychain Scripting
Re: Fun with Keychain Scripting
- Subject: Re: Fun with Keychain Scripting
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 23 Jan 2004 17:02:20 -0800
On 1/23/04 2:16 PM, "David Crowe" <email@hidden> wrote:
>
Rob;
>
>
Thanks for testing this snippet out under 10.2.8, but:
>
>
tell application "Keychain Scripting"
>
tell keychain "David"
>
set theKey to key whose name is "www.iCab.de"
>
end tell
>
end tell
>
>
>
... does not work for me on 10.3. Perhaps someone else using 10.3 can
>
verify this.
You left out "first" again.
set theKey to FIRST key whose name is "www.iCab.de"
(Use "last" if you might really have more than one and think the latest is
best. But you do have to specify a SINGLE element one way or the other.
Other get a list via 'every key'. The one thing you can't do is just plain
'key'. Rob's example to you included 'first key'.)
--
Paul Berkowitz
_______________________________________________
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.