🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1550

Re: text replace and SpecialCharacters

#1550
From: Siegfried_Kauschat
Date: Fri, 30 Jan 2009 12:29
11 lines
967 bytes

      Take notice of proper backslash escaping




That's it, thank you!

JS-"\r" works accidentally because Indesign treats this JS-generated line break the same way than the escape sequence backslash-r (written "\\r" in JS).
But "\n" has a different effect than "\\n" so your hint made my day.
Technical Details
Message-ID: <59b7bb64.1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing
References: <59b7bb64.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,e76ee089cd705fa3
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Siegfried_Kauschat@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.glorb.com!news2.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: text replace and SpecialCharacters
Message-ID: <59b7bb64.1@webcrossing.la2eafNXanI>
Date: Fri, 30 Jan 2009 04:29:54 -0800
References: <59b7bb64.-1@webcrossing.la2eafNXanI>
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit