Copy link to clipboard
Copied
Hello,
I would like to make a script (extendscript) to control the new stroke-controls in indesign cc 2017: Scale and Arrowhead alignment options.
But when I look in the Adobe Indesign CC 2017 (9.0) Object Model I cannot find the properties of the new features.
Can you tell me where I can find these?
greetings, Stefan
It was not that hard to find ...*
GraphicLine contains the properties for leftArrowHeadScale, rightArrowHeadScale, and arrowHeadAlignment.
* Unless you looked only at StrokeStyles, which was my first bet as well.
Copy link to clipboard
Copied
It was not that hard to find ...*
GraphicLine contains the properties for leftArrowHeadScale, rightArrowHeadScale, and arrowHeadAlignment.
* Unless you looked only at StrokeStyles, which was my first bet as well.
Copy link to clipboard
Copied
studio172 wrote:
… But when I look in the Adobe Indesign CC 2017 (9.0) Object Model I cannot find the properties of the new features.…
Hi Stefan,
you looked into the wrong object model.
The ESTK's Object Model Viewer will present diverse object models with the same connected version of InDesign (CC 2017 in your case). Also for older versions of InDesign. 9.0 is for InDesign CC v9.x. You have to look into CC 2017 (12.0) Object Model.
Or look into Gregor Fellenz' DOM documentation here:
InDesign ExtendScript API (12.0)
Regards,
Uwe
Copy link to clipboard
Copied
Thanks a lot both! Indeed i was looking at the wrong ESTK! Thanks for showing me the right ESTK, great!!!
Maybe another question for you guys...
Do you know if it's possible to make a color with scripting that doesn't show up in the swatches panel of indesign (i mean a hidden color)?
Copy link to clipboard
Copied
studio172 wrote:
… Maybe another question for you guys...Do you know if it's possible to make a color with scripting that doesn't show up in the swatches panel of indesign (i mean a hidden color)?
Hi Stefan,
please open a new thread for this.
Thanks,
Uwe