🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #15540

Re: Duplicate page: limited count of items?

#15540
From: Eelko_Heuvelmans
Date: Mon, 24 Nov 2003 08:46
20 lines
1387 bytes
Have you tried setting your indesign application to not to show error messages?
This can be done by:
Dim myInDesign As InDesign.Application
Set myInDesign = CreateObject("InDesign.Application.2.0")
myIndesign.UserInteractionLevel.idDontDisplayAlerts

'Set interaction back at the end of your script by
myIndesign.UserInteractionLevel.idDisplayAlerts


Here is a bit from scripting guide about this:
Use idDontDisplayAlerts (to suppress the display
of any alerts or dialog boxes that might appear
while a script is running) or idDisplayAlerts (to
turn alerts and dialog boxes on again). If you
disable the display of alerts and dialog boxes, make
certain that you turn them on again before the end
of your script.

Hope it helps
Technical Details
Message-ID: <2cce8ae6.0@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
References: <2cce8ae6.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,284ec217a9dcd2f4
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-11-24 01:07:36 PST
From: Eelko_Heuvelmans@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: Re: Duplicate page: limited count of items?
Message-ID: <2cce8ae6.0@webx.la2eafNXanI>
Date: Mon, 24 Nov 2003 00:46:54 -0800
References: <2cce8ae6.-1@webx.la2eafNXanI>
Lines: 22
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit