• 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: Text Item Delimiters not working with 9.1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Text Item Delimiters not working with 9.1


  • Subject: Re: Text Item Delimiters not working with 9.1
  • From: JollyRoger <email@hidden>
  • Date: Wed, 08 Aug 2001 18:39:34 -0500

On 8/8/2001 5:56 PM, "Wadson, David" <email@hidden>
wrote:

> set oldDelimiters to AppleScript's text item delimiters
>
> set AppleScript's text item delimiters to {tab}
>
> set current_entry_Ad_Number to text item 4 of snippet_of_text
>
> set AppleScript's text item delimiters to oldDelimiters
>
> This snippet of code no longer works when put on a G4 running 9.1 but works
> fine with 8.6. I've doublechecked and the text snippet is tab-delimited but
> despite changing the delimiters of Applescript, it still comes in as one
> line. Hence the script craps out when trying to get text item 4...
>
> Aarrg! This is the second bit of code that has stumped me today. Is there a
> list of bugs in Applescript 1.6 and Mac OS 9.1? I haven't found one anywhere
> but there seem to be some issues...

Without seeing the definition of the "snippet_of_text" variable, I can't
really diagnose the problem.

Just curious: are you using CarbonLib 1.3.1, or an earlier version?


References: 
 >Text Item Delimiters not working with 9.1 (From: "Wadson, David" <email@hidden>)

  • Prev by Date: Re: Applescript Editor crashes Mac.
  • Next by Date: Re: Speech impediment
  • Previous by thread: Text Item Delimiters not working with 9.1
  • Next by thread: Re: Text Item Delimiters not working with 9.1
  • Index(es):
    • Date
    • Thread