🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #878

Re: [JS][CS3] Print DIalog Box with ESCAPE

#878
From: jongware
Date: Fri, 27 Feb 2009 16:11
17 lines
1249 bytes
Unfortunately, print has a prototype

      void print ([printDialog:bool][, using:any])




where the 'void' indicates it does not return a value.

I wonder if this can be wrapped by the CS4 Event object. That has properties 'cancelable' (if true, cancelling is allowed) and 'defaultPrevented' (if true, default behavior has been cancelled). Idle rambling, because 1. I have no idea at all how to work with Events, 2. most likely, ID does not 'update' the current Print dialog to

      [..] keep track of how many prints were "skipped"




(i.e., you still won't know where it was), and 3. I don't even know if you have CS4, or an older version.
Technical Details
Message-ID: <59b80ed5.0@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
References: <59b80ed5.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,2232b21bcb70529c
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: jongware@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: [JS][CS3] Print DIalog Box with ESCAPE
Message-ID: <59b80ed5.0@webcrossing.la2eafNXanI>
Date: Fri, 27 Feb 2009 08:11:13 -0800
References: <59b80ed5.-1@webcrossing.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit