Article View: adobe.scripting.indesign
Article #15745Re: [AS] Open without showing window in InDesign CS
From: Pete_Boctor
Date: Wed, 19 Nov 2003 22:15
Date: Wed, 19 Nov 2003 22:15
15 lines
1296 bytes
1296 bytes
Another way of showing a window on a document that was opened or created without a window is to to tell the document to make a window:
tell application "InDesign CS"
set myDoc to open "path to my file" without showing window
-- OR
set myDoc to make document with properties {showing window:false}
-- Do stuff
tell myDoc to make window
end tell
Also this ability to open/make documents without a window is not limited to AppleScript. You can do the same thing from VB or JavaScript.
-peter
Technical Details
Message-ID:
<2cce7aba.7@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<BBE17E62.F761%tkuypers@pandora.be>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,9859c8f1cd692854 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-11-19 14:38:03 PST From: Pete_Boctor@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: [AS] Open without showing window in InDesign CS Message-ID: <2cce7aba.7@webx.la2eafNXanI> Date: Wed, 19 Nov 2003 14:15:11 -0800 References: <BBE17E62.F761%tkuypers@pandora.be> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit