🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9926

Re: Help needed with regular expression.

#9926
From: Jerker_Dahlblom
Date: Thu, 13 Jul 2006 09:45
6 lines
1279 bytes
That script more or less removed all items from the document. Nevermind I do understand things can be made simpler, I'm a bit in the dark when it comes to JavaScript & InDesign.

Can you answer this?
I want to run my script in each document in a book. How do I do that? I have found no bridge between app -> books -> book -> documents in the JavaScript reference for InDesign. The gap is between book & documents. I am doing it too complicated?

Also I can't open documents using app.open(File()). All I get is that file does not exist or I do not have permission. File is on a network share. It opens just fine with "Open" menu or by double clicking the book.
Technical Details
Message-ID: <3bc0dfb6.6@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossing
References: <3bc0dfb6.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,8bed2397d36f00d4
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jerker_Dahlblom@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: Re: Help needed with regular expression.
Message-ID: <3bc0dfb6.6@webcrossing.la2eafNXanI>
Date: Thu, 13 Jul 2006 02:45:59 -0700
References: <3bc0dfb6.-1@webcrossing.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.ispa.de!news.ecp.fr!news.stben.net!webcrossing