Hi
Does anyone know how to find/change stroke object in applescript InDesign CS4 ?
type dashed to solid with overprint stroke On and overprint gap On… ?
Thanks !
Hi
Does anyone know how to find/change stroke object in applescript InDesign CS4 ?
type dashed to solid with overprint stroke On and overprint gap On… ?
Thanks !
I’m looking for solution on similar issue on IDCS3.
My script as follows:-
tell application "Adobe InDesign CS3"
activate
set find object preferences to nothing
set change object preferences to nothing
set properties of find object preferences to {fill color:"Black", fill tint:-1}
set properties of change object preferences to {fill color:"Black", fill tint:-1, overprint fill:true}
tell document 1 to change object
end tell
My objective is to set all fill object with 100% Black to overprint on, but nothing happen!
Please advise. TIA!
Hi cits,
at the moment I can just write a solution for InDesign CS. But I guess it’s basicly enough, so it will work on a newer version …
tell application "InDesign CS"
activate
tell document 1
--color id 8 = "black" on my system
set x to every page item whose fill color is color id 8 and fill tint is -1 and overprint fill is false
repeat with i from 1 to count of x
set thepageitem to item i of x
set overprint fill of thepageitem to true
end repeat
end tell
end tell
Thank you, Hans.
After several trial and error, my color id for “Black” is 9.
So, is the color id depends on document? application version? or system version?
Is there a way to find the color id number directly instead of using trial and error approach? For instant, how can I find out the color id of a spot color, named as “Text”?
TIA!
Hi cits,
get the
properties
of the document (you can get properties of almost every item; for example page items, rectangle etc.)… and then have a look at the ScriptEditor ResultWindow I guess you’ll find even more useful stuff …
Nice day
Hans