🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18636

Re: Applescript + Search = Crash

#18636
From: Sam Highley
Date: Sun, 09 Mar 2003 23:22
10 lines
1335 bytes
This script will crash an InDesign document with a decent number of pages/paragraphs:

tell application "InDesign 2.0.2"
	set myDocument to active document
	tell myDocument
		search for " ^p" replacing with "^p"
	end tell
end tell

Make a new InDesign document with about 30 pages, fill all 30 pages with linked text using the "fill with placeholder text" function, do a manual search and replace finding "^p" and replacing with " ^p" to add some spaces at the end of paragraphs, then run the above script. I guarantee, it'll crash.
Technical Details
Message-ID: <1de82a76.1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de82a76.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,ee6013b8242493af
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-03-09 15:40:02 PST
From: "Sam Highley" <sam@clarusdesign.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Applescript + Search = Crash
Message-ID: <1de82a76.1@WebX.la2eafNXanI>
Date: Sun, 9 Mar 2003 15:22:44 -0800
References: <1de82a76.-1@WebX.la2eafNXanI>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit