Re: Keychain scripting... extract names from list
Re: Keychain scripting... extract names from list
- Subject: Re: Keychain scripting... extract names from list
- From: Graff <email@hidden>
- Date: Fri, 14 May 2004 15:09:23 -0400
On May 14, 2004, at 2:01 PM, Gnarlodious wrote:
Entity David Crowe spoke thus:
set KeyList to every key of keychain KeychainName
I'm still trying to get every Keychain name to present an error dialog
to
select a keychain.
If I say:
tell application "Keychain Scripting" to set the keychainList to every
keychain
->
{keychain "login.keychain" of application "Keychain Scripting",
keychain "Rachel.keychain" of application "Keychain Scripting",
keychain "Backup.keychain" of application "Keychain Scripting",
keychain "System.keychain" of application "Keychain Scripting"}
What's the easiest way to get a list like this for the dialog?
{"login.keychain", "Rachel.keychain", "Backup.keychain",
"System.keychain"}
Does this work?
-----
tell application "Keychain Scripting" to set the keychainList to (name
of every keychain)
-----
- Ken
_______________________________________________
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.