🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #2360

[CS4] The showingWindow option in app.open doesn't hide all dialogs now

#2360
From: Lawrence_H
Date: Wed, 31 Dec 2008 10:29
11 lines
1373 bytes
In CS3, the following code would open any InDesign doc with no UI. Missing links and missing fonts dialogs were suppresed:

var myFile = new File("some location");
var showWindows = false;
var myDoc = app.open(myFile,showWindows);

In CS4, there's a new missing links alert. It's different from the CS3 alert - it just tells you how many links aren't connected to sources, and lets you click OK. It now shows up if you open a doc with missing links, even if you set showWindows to false.

You can disable it by going under Preferences > File Handling and turning off "Check links before opening document", but it would be nice if you didn't have to manually configure ID before running a script. Seems like app.open should suppress all dialogs if you tell it not to open the UI.

Lawrence
Technical Details
Message-ID: <59b76540.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,551e4e2da5b6fac3,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Lawrence_H@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: [CS4] The showingWindow option in app.open
 doesn't hide all dialogs now
Message-ID: <59b76540.-1@webcrossing.la2eafNXanI>
Date: Wed, 31 Dec 2008 02:29:44 -0800
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit