Re: TexEdit script - a longshoot
Re: TexEdit script - a longshoot
- Subject: Re: TexEdit script - a longshoot
- From: Michelle Steiner <email@hidden>
- Date: Thu, 29 Mar 2001 07:47:00 -0800
On 3/29/01 7:41 AM, email@hidden
<email@hidden> wrote:
>
So I want a script that changes the return to tab.
TIDs to the rescue.
set the textToBeProcessed to "This is the first sentence. This is the
second sentence. This is the third sentence."
--There are tabs between the sentences.
set {TID, text item delimiters} to {text item delimiters, tab}
set the textItems to the text items of the textToBeProcessed
set text item delimiters to {return}
set the finishedProduct to the textItems as text
set text item delimiters to TID
the finishedProduct
--> "This is the first sentence.
This is the second sentence.
This is the third sentence."
----------------------------------------------------------------------
| Michelle Steiner | We're not human beings having a spiritual |
| | experience. We're spiritual beings |
| email@hidden | having a human experience. |
----------------------------------------------------------------------