Re: Odd result parsing keychain password
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.