• 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: Leopard Applescript Changes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Leopard Applescript Changes?
      • From: Axel Luttgens <email@hidden>
    • Re: Leopard Applescript Changes?
      • From: John Mistler <email@hidden>
References: 
 >Leopard Applescript Changes? (From: John Mistler <email@hidden>)

  • Prev by Date: Leopard Applescript Changes?
  • Next by Date: Re: Leopard Applescript Changes?
  • Previous by thread: Leopard Applescript Changes?
  • Next by thread: Re: Leopard Applescript Changes?
  • Index(es):
    • Date
    • Thread