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:
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.