• 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: AppleScript broken in 10.5.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript broken in 10.5.4


  • Subject: Re: AppleScript broken in 10.5.4
  • From: KOENIG Yvan <email@hidden>
  • Date: Thu, 2 Oct 2008 17:04:16 +0200


Le 2 oct. 2008 à 16:55, Axel Luttgens a écrit :


Le 2 oct. 08 à 16:21, Bob Anderson a écrit :

The following script works in 10.4.x but fails in 10.5.4. Suggestions?

set digitlist to every item of "0123456789"

Hello Bob,

In fact, it is rather surprising that the above worked in 10.4.X...
Strictly speaking, "strings can have character, word, paragraph, and text elements" as one may read in the "old" ASLG (the one for AppleScript 1.3.7); and the current version of that reference document doesn't tell otherwise.


So,

	set digitlist to every character of "0123456789"

should have always been more appropriate for fetching individual characters.

HTH,
Axel _

Hello Axel

It may be surprising but it really works and returns:

{"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"}

Yvan KOENIG (from FRANCE jeudi 2 octobre 2008 17:04:12)


_______________________________________________ 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
References: 
 >AppleScript broken in 10.5.4 (From: Bob Anderson <email@hidden>)
 >Re: AppleScript broken in 10.5.4 (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: AppleScript broken in 10.5.4
  • Next by Date: Re: AppleScript broken in 10.5.4
  • Previous by thread: Re: AppleScript broken in 10.5.4
  • Next by thread: Re: AppleScript broken in 10.5.4
  • Index(es):
    • Date
    • Thread