• 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: John Mistler <email@hidden>
  • Date: Fri, 2 May 2008 17:15:58 -0700

Yes, I guess it must have been a bug fix...

I wonder how many of these kind of changes were made in 10.5? It is a little unsettling, considering the amount code I have from 10.3.

Anyone have a list of things they have discovered that would be helpful?

Thanks,

John

On May 2, 2008, at 5:05 PM, Philip Aker wrote:

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: Matt Deatherage <email@hidden>
    • Re: Leopard Applescript Changes?
      • From: Philip Aker <email@hidden>
References: 
 >Leopard Applescript Changes? (From: John Mistler <email@hidden>)
 >Re: Leopard Applescript Changes? (From: Philip Aker <email@hidden>)

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