🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #366

scripting Preflight options In Design (CS4)

#366
From: JanGeerling
Date: Wed, 25 Mar 2009 09:32
19 lines
1291 bytes
I'm trying to make a script that will install predefined Preflight options in In Design. This is my script till now :

tell application "Adobe InDesign CS4"
   try
       make new preflight profile with properties {name:"TEST"}
   end try
   tell preflight profile "TEST"
       set description to "Preflight !!"
       tell preflight rule instance "ADBE_MissingModifiedGraphics"
           set flag to return as error
       end tell
   end tell
end tell

This gives the error : Adobe InDesign CS4 got an error: Preflight profile rule does not exist in the profile

Is there a way to avoid that? If i click on a preflight option in In Design it works fine after that. (But offcourse i want that automaticly done)

Jan Geerling
Technical Details
Message-ID: <59b866f3.-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,9e3726b3abd7e909,start
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: JanGeerling@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: scripting Preflight options In Design (CS4)
Message-ID: <59b866f3.-1@webcrossing.la2eafNXanI>
Date: Wed, 25 Mar 2009 02:32:28 -0700
Lines: 23
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit