Re: Text Item Delimiters not working with 9.1
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?