Skip to main content
Known Participant
June 12, 2015
Question

Script command for align dashes to corners and path ends?

  • June 12, 2015
  • 1 reply
  • 2747 views

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

This topic has been closed for replies.

1 reply

Inspiring
June 12, 2015

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

Harald61Author
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

CarlosCanto
Community Expert
Community Expert
June 14, 2015

as an alternative, you could record an Action to adjust the dashes, then have your script play such action.