🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15119

JS: Unsuccessful Search Response

#15119
From: Dave_Saunders
Date: Tue, 30 Dec 2003 13:08
9 lines
913 bytes
Experimenting reveals that if:

myFinds = myDoc.search("",false,false,undefined,{appliedCharacterStyle:myCstyle});

finds nothing, then myFinds is equal to "". Not null, not [], not undefined.

This seems odd. but it does appear to be a perfectly repeatable result, no matter what myFinds might have been beforehand.

Dave
Technical Details
Message-ID: <2ccf2002.-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

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,76fff1fa9bbb0ed
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-12-30 05:37:36 PST
From: Dave_Saunders@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: JS: Unsuccessful Search Response
Message-ID: <2ccf2002.-1@webx.la2eafNXanI>
Date: Tue, 30 Dec 2003 05:08:20 -0800
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit