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

Can a script do this?

Explorer ,
Jul 22, 2024 Jul 22, 2024

Copy link to clipboard

Copied

Can a script convert a line to a shape?

TOPICS
How to , Scripting

Views

302

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 ,
Jul 22, 2024 Jul 22, 2024

Copy link to clipboard

Copied

Yes.

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 ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

Hi @Mendi M ,

do you want some hints how to do this?
Or is a "yes" enough so that I can give Peter Kahrel's reply the "Correct Answer" status?

 

Regards,
Uwe Laubender
( Adobe Community Expert )

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
Explorer ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

Hi thanks!

This is a good question...
I'm not an expert enough, I encounter this need from time to time, and I haven't found a script for it.
The solution I did and heard is to use Illustrator...

 

In fact for an answer:
I would love to hear if it is a complex script or a number of simple commands?

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 ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

Hi @Mendi M ,

it's not done straight forward. But it's doable.

In fact, Olav Martin Kvern did one about ten years ago and it should still work.

It's exploiting the text wrap feature of InDesign where one could define a custom path for wrapping text. Let's see if we can still find the script named OffsetPath.jsx.

 

It was part of Ole's CAD scripts suite. Ah, found it:

https://www.siliconpublishing.com/blog/free-indesign-scripts/

 

Hm. For your purpose you will run it perhaps two times on the same object to get the outer path and the other time to get the inner path and then use InDesign's pathfinder tool to create the desired object.

 

Just test OffsetPath.jsx and let us know how it goes.

 

Regards,
Uwe Laubender
( Adobe Community Expert )

 

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 ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

LATEST

Hi @Mendi M ,

the other, more easy answer, is to use InDesign and Illustrator together.

Copy the item from InDesign to Illustrator, expand the shape there and copy the result back to InDesign.

 

Regards,
Uwe Laubender
( Adobe Community Expert )

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 ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

 

Can a script convert a line to a shape?


By @Mendi M

 

Do you mean Convert to Curves / Outline - Text line?

 

Or Graphic line - to what kind of a shape?

 

Or something else?

 

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
Explorer ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

Hi, 

I meant like Expand in Illustrator

example: > >

צילום מסך 2024-07-23 ב-18.53.02.png

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 ,
Jul 23, 2024 Jul 23, 2024

Copy link to clipboard

Copied

quote

Hi, 

I meant like Expand in Illustrator

example: > >

צילום מסך 2024-07-23 ב-18.53.02.png

By @Mendi M

 

Something like that - easy:

1) create "outside" circle,

2) create "inside" circle,

3) subtract.

 

But if you have something more complicated - you need to show it first - it might be possible.

 

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