• 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: Odd result parsing keychain password
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Odd result parsing keychain password


  • Subject: Re: Odd result parsing keychain password
  • From: "John C. Welch" <email@hidden>
  • Date: Sat, 06 Dec 2003 22:32:56 -0600

On 12/6/03 10:21 PM, "Gnarlodious" <email@hidden> wrote:

> In the transition to 10.3 this stopped working.
>
> Where in 10.2 line:
> set thePassword to (characters 1 thru ((offset of (ASCII character 0) in
> thePassword) - 1) of thePassword) as text
>
> returned "password"
>
> the same line now returns "p:a:s:s:w:o:r:d"
>
> To bring the password up to 10.3 standards I need to say:
> set thePassword to (text 1 thru ((offset of (ASCII character 0) in
> thePassword) - 1) of thePassword)
>
> which returns "password"
>
> Any insight into this change?

Um...why are you doing this? I just use the password as it comes from the
keychain, and it works fine. No need to parse it at all.

john

--
"Kill one, terrify a thousand."
- Sun Tzu
_______________________________________________
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:
    • Broken scripts in Panther
      • From: Mr Tea <email@hidden>
    • Re: Odd result parsing keychain password
      • From: Gnarlodious <email@hidden>
References: 
 >Odd result parsing keychain password (From: Gnarlodious <email@hidden>)

  • Prev by Date: Odd result parsing keychain password
  • Next by Date: Re: Odd result parsing keychain password
  • Previous by thread: Odd result parsing keychain password
  • Next by thread: Re: Odd result parsing keychain password
  • Index(es):
    • Date
    • Thread