Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

How do I set additional Preflight options...

$
0
0

Hi Folks,

 

I'm attempting to write an AppleScript to create a Preflight profile in InDesign CS5.

 

I've worked out how to create the profile, give it a name, and set some of the properties using code similar to this shown below:

 

tellapplication "Adobe InDesign CS5"

          setprofileNameto "TEST PROFILE"

          setprofileDescriptionto "This text describes what the profile does..."

          setnewProfiletomakenewpreflight profilewith properties {name:profileName}

          setdescriptionofnewProfiletoprofileDescription

          tellnewProfile 

                    setTrnspBlendOptionstomakepreflight rule instancewith properties {id:"ADBE_TransparencyBlending"}

                    setflagofTrnspBlendOptionstoreturn as error

          endtell

endtell

 

This code above will configure the settings as shown in the screenshot below:

Preflight_ScreenShot.png

 

My question is...

 

How do I access and set additional properties?

In this instance how do I set the colorspace to be RGB ?

 

Cheers, Rob.


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>