🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14513

[JS] Copying a small string to memory (and deleteing it)

#14513
From: Roy_Marshall
Date: Tue, 27 Jan 2004 15:51
7 lines
1111 bytes
I need to get to a peice of text within a paragraph, and effectively move it to another part of the same para. I have been able to get index references for the section start and end, but not sure where to go to select the text between these points. I spose in AS you could use the thro command.

eg. my start character is index 2, my end caracter is index 10. I need to move 2 through 10 to the next line, then delete it from the first instance.

Any ideas please?

Roy
Technical Details
Message-ID: <2ccf9ac5.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,47d76c5f53276933,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-27 08:08:05 PST
From: Roy_Marshall@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: [JS] Copying a small string to memory (and deleteing it)
Message-ID: <2ccf9ac5.-1@webx.la2eafNXanI>
Date: Tue, 27 Jan 2004 07:51:07 -0800
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit