Article View: adobe.scripting.indesign
Article #2453Re: Auto Preflight on Close - CS2
From: Roy_McCoy
Date: Mon, 15 Dec 2008 23:23
Date: Mon, 15 Dec 2008 23:23
27 lines
3480 bytes
3480 bytes
caleb mercer wrote: > This may be a stupid question, but does anyone know if there is a > way to set up Indesign so that it runs the Preflight command > automatically whenever you close Indesign? I have very little > experience in scripting etc..so a basic explanation would be > appreciated. I would probably do this without scripting, creating a simple sequence using a macro program (in my case QuicKeys) and assigning it to cmd/ ctrl-q, the normal quit keycode. That would be something like: 1. Choose File > Preflight menu command. (I don't have this in CS4.) 2. Pause and wait for user (to do whatever, if anything, in relation to preflight). 3. Choose InDesign > Quit InDesign menu command. If you don't have a macro program and don't want to use one, and if you can edit keyboard shortcuts in CS2, then I suppose you could assign Preflight to the quit keycode, but then you would have to do a menu quit or use another keycode to "really" quit. OR, you could probably script the quit routine and assign it to cmd/ctrl-q in InDesign, but then you have to know how to script it. Roy McCoy Rotterdam, NL
Technical Details
Message-ID:
<051221F3-FB9D-4747-BA83-D038494FC4C2@luna.nl>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news.astraweb.com!border1.newsrouter.astraweb.com!newshub.sdsu.edu!webcrossingReferences:
<59b746d3.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,1ff3585d4c167e5
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Roy_McCoy@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!news.astraweb.com!border1.newsrouter.astraweb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Auto Preflight on Close - CS2
Message-ID: <051221F3-FB9D-4747-BA83-D038494FC4C2@luna.nl>
Date: Mon, 15 Dec 2008 15:23:13 -0800
References: <59b746d3.-1@webcrossing.la2eafNXanI>
Lines: 29
Received: from ik-out-1112.google.com [66.249.90.177] by adobeforums.com; Mon, 15 Dec 2008 15:23:47 -0800
Received: by ik-out-1112.google.com with SMTP id c29so793229ika.6
for <adobe.scripting.indesign@adobeforums.com>; Mon, 15 Dec 2008 15:23:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:to:in-reply-to
:content-type:content-transfer-encoding:mime-version:subject:date
:references:x-mailer:from;
bh=xI+R3yIOOoe/z5kmbeTIQjC/ILMFg9l2EXd8iqUw75Q=;
b=L4UBTb7WBn1aA69lUksAa+FyTBY+Tui6D24Z3CPA2U6tWpW2y0qegED6eWk4VInTxI
bCJo/xZKtBPD6g321SL5uhrKAsdiHe82UGFoQXr1eXcn6/MUIr7SK38MBI9sypWocxFn
43k/wOyUC3gZx5PbHapI43QYvGf2VbuReXw/U=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:to:in-reply-to:content-type:content-transfer-encoding
:mime-version:subject:date:references:x-mailer:from;
b=Idui/vitK5TyEVCHgpYTN7rHIBmMI5ME32obPsJW0Jyutbdsnn5Vpe1T0mK1aXiASS
VWnxdi48sS3h3pQywmdYutTELxjKnSFnktx7yPGga8bIaDDqCENQORfUkU4l6RNYS1rw
fZIq7/fLMEdiQ/esVj78WiJXGn4gBu3KwWSu4=
Received: by 10.210.87.19 with SMTP id k19mr5182998ebb.147.1229383397777;
Mon, 15 Dec 2008 15:23:17 -0800 (PST)
Return-Path: <roymccoy.nl@gmail.com>
Received: from ?192.168.1.70? (ip3e838ce6.speed.planet.nl [62.131.140.230])
by mx.google.com with ESMTPS id c9sm553900nfi.5.2008.12.15.15.23.15
(version=TLSv1/SSLv3 cipher=RC4-MD5);
Mon, 15 Dec 2008 15:23:16 -0800 (PST)
X-Mailer: Apple Mail (2.929.2)
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit