Article View: adobe.scripting.indesign
Article #369Re: scripting Preflight options In Design (CS4)
From: Shane_Stanley
Date: Wed, 25 Mar 2009 10:20
Date: Wed, 25 Mar 2009 10:20
20 lines
1818 bytes
1818 bytes
That script doesn't look right. My *guess* is that you need something like
this:
tell application "Adobe InDesign CS4"
delete preflight profile 2
try
make new preflight profile with properties {name:"TEST"}
end try
tell preflight profile "TEST"
set description to "Preflight !!"
set pri to make preflight rule instance with properties
{id:"ADBE_MissingModifiedGraphics"}
set flag of pri to return as error
end tell
end tell
--
Shane Stanley <sstanley@myriad-com.com.au>
AppleScript Pro Sessions <http://scriptingmatters.com/aspro>
Technical Details
Message-ID:
<C5F050B3.4FA3D%sstanley@myriad-com.com.au>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b866f3.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,9e3726b3abd7e909 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Shane_Stanley@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: scripting Preflight options In Design (CS4) Message-ID: <C5F050B3.4FA3D%sstanley@myriad-com.com.au> Date: Wed, 25 Mar 2009 03:20:51 -0700 References: <59b866f3.-1@webcrossing.la2eafNXanI> Lines: 23 Received: from outbound.icp-qv1-irony-out2.iinet.net.au [203.59.1.107] by adobeforums.com; Wed, 25 Mar 2009 03:21:31 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtYBAC+iyUnSVB+T/2dsb2JhbAAI0wWDdQY X-IronPort-AV: E=Sophos;i="4.38,418,1233500400"; d="scan'208";a="456011773" Received: from unknown (HELO [10.1.1.4]) ([210.84.31.147]) by outbound.icp-qv1-irony-out2.iinet.net.au with ESMTP; 25 Mar 2009 19:20:53 +0900 User-Agent: Microsoft-Entourage/12.15.0.081119 Thread-Topic: scripting Preflight options In Design (CS4) Thread-Index: AcmtM19Ea/UZXVqiv02qX0RBE6YP3A== MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit