• 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: scripting keychain access - login keychain
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripting keychain access - login keychain


  • Subject: Re: scripting keychain access - login keychain
  • From: travis n <email@hidden>
  • Date: Thu, 13 May 2004 07:08:28 -0500

Thanks John,

This bit of code errors out for me, as I do not have a keychain named for my short name. I did a clean install of panther and just started using the default keychain the system setup, which was named login.

The code I posted does not error, it sees login, but returns its contents as an empty list, which if I use keychain access, it certainly is not!

Thanks.

-travis n

On May 13, 2004, at 5:42 AM, John Stewart wrote:

set uName to do shell script "id -nu" -- user short name
tell application "Keychain Scripting" to set uKey to account of (first Internet key of keychain uName
whose server is "www.mac.com")
_______________________________________________
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.


  • Follow-Ups:
    • Re: scripting keychain access - login keychain
      • From: John Stewart <email@hidden>
    • Re: scripting keychain access - login keychain
      • From: "John C. Welch" <email@hidden>
References: 
 >Re: scripting keychain access - login keychain (From: John Stewart <email@hidden>)

  • Prev by Date: Re: Madness & frustration... What is a file? What is a Path?
  • Next by Date: Re: scripting keychain access - login keychain
  • Previous by thread: Re: scripting keychain access - login keychain
  • Next by thread: Re: scripting keychain access - login keychain
  • Index(es):
    • Date
    • Thread