🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14604

Re: JS undefined properties...

#14604
From: Roy_Marshall
Date: Fri, 23 Jan 2004 15:14
21 lines
1162 bytes
I am nearly there........

I can get hold of the last character of the penultimate and preceeding lines of the paragraph, but I cant replace, or add a carriage return.

A part of my code is now:-

myReturn = ("^p");
//lots of other stuff

myCharCnt = myLine.length;
myLine[myCharCnt-1] = myReturn;
//I cant assign a carriage return to this last character
//(which is at the moment a space)

all the other code works, and returns expected results in debugger.

getting this done will give me a good weekend!

Cheers

Roy
Technical Details
Message-ID: <2ccf884d.1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccf884d.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,c2ae6c74d069cf9
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-23 07:37:58 PST
From: Roy_Marshall@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: JS undefined properties...
Message-ID: <2ccf884d.1@webx.la2eafNXanI>
Date: Fri, 23 Jan 2004 07:14:50 -0800
References: <2ccf884d.-1@webx.la2eafNXanI>
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit