Re: Run with keychain scripting....
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.