🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14765

Re: JS beginners help

#14765
From: Dave_Saunders
Date: Fri, 16 Jan 2004 14:16
5 lines
893 bytes
Looks to me that you are trying to use indexOf on an InDesign object. But it is a string function.

Get the contents of myText into a JS string and then use indexOf, or do a second search on myText in InDesign and get a reference to the � that way.

Dave
Technical Details
Message-ID: <2ccf45cf.30@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
References: <2ccf45cf.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f939a,613db9f5b5ffc527
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-16 06:37:54 PST
From: Dave_Saunders@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: Re: JS beginners help
Message-ID: <2ccf45cf.30@webx.la2eafNXanI>
Date: Fri, 16 Jan 2004 06:16:48 -0800
References: <2ccf45cf.-1@webx.la2eafNXanI>
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit