• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Scripting Arrowhead Scaling and Alignment

Community Beginner ,
Jan 19, 2017 Jan 19, 2017

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

TOPICS
Scripting

Views

452

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 19, 2017 Jan 19, 2017

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.

Votes

Translate

Translate
Community Expert ,
Jan 19, 2017 Jan 19, 2017

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 19, 2017 Jan 19, 2017

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 19, 2017 Jan 19, 2017

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)?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 20, 2017 Jan 20, 2017

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines