• 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
Re: Keychain scripting... extract names from list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: Keychain scripting... extract names from list (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: how to sort a list
  • Next by Date: Re: Mail Script
  • Previous by thread: Re: Keychain scripting... extract names from list
  • Next by thread: Re: Keychain scripting...
  • Index(es):
    • Date
    • Thread