Skip to main content
Known Participant
June 12, 2015
Frage

Script command for align dashes to corners and path ends?

  • June 12, 2015
  • 1 Antwort
  • 2747 Ansichten

Hello,

I am using Illustrator CC for Scripting. I have dashed lines in my drawing and want to align dashes to corners and path ends.

No problem in the Illustrator stroke menu. There are two buttons with dashed lines on it. There I can select this option.

But I cannot find the script command to do this. Please can you help me?

Best regards

Harald

Dieses Thema wurde für Antworten geschlossen.

1 Antwort

Inspiring
June 12, 2015

‌You will find it on this page: s.h's page : Scripts for Adobe Illustrator CS

Known Participant
June 12, 2015

Hello Sigurdur,

I found on this page a script which calculates the positions and adjust the dashes.

But I do not found the command to call the Illustrator function.

Does this mean, there is no possibility to call the Illustrator function from the Stroke-Object?

I have to use the script?

Best regards

Harald

Qwertyfly___
Legend
June 19, 2015

I have checked the solution to record an Action.

It seems not working, because I cannot record only the button click.

Is there any other solution?

Thanks in advance!

Harald


correct, when you record it in an action it decides to also record all the other values like stroke weight etc..

depending on what options are set the action may have 6 parameters up to about 12 or 13 parameters.

there only seem to be about 9 scriptable options.

If we could read all 12 parameters from the stroked item then we could script an action including those values.

but as we only have access to some of them I cant see that working.