Re: Leopard Applescript Changes?
Re: Leopard Applescript Changes?
- Subject: Re: Leopard Applescript Changes?
- From: Philip Aker <email@hidden>
- Date: Fri, 02 May 2008 17:05:58 -0700
On 08-05-02, at 15:50, John Mistler wrote:
I just upgraded to 10.5. When running an applescript that I wrote
in 10.3, I found something peculiar:
set theCount to count text items of ""
log theCount
In 10.3, theCount --> 0
In 10.5, theCount --> 1
set titems to text items of ""
{""}
count of titems
--> 1
set titems to text items of ""
count of item 1 of titems
--> 0
count of text items of {}
--> 0
count of ""
--> 0
Can anyone explain this?
I think I can understand the current behavior. Seems like a bug's been
fixed, but I must admit, it does seem odd when first looking at it.
Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@
Sent from my SE/30
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden