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

Move text layers to anchor points

Community Beginner ,
Oct 14, 2024 Oct 14, 2024

Copy link to clipboard

Copied

Is there any way to move the text layers that are in paragraph format to the middle of each anchor point using action or script? I would like to move these paragraphs to specific points in the image in the order the points were created.
I made an example:

imagem_2024-10-15_010542603.png

TOPICS
Actions and scripting , Windows

Views

127

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
Adobe
Community Expert ,
Oct 14, 2024 Oct 14, 2024

Copy link to clipboard

Copied

Actions cannot help you, especially if you have different anchor points each time.

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
LEGEND ,
Oct 15, 2024 Oct 15, 2024

Copy link to clipboard

Copied

You have four different steps required for this:

1. determine which points were created in what order

2. get the coordinates for each point

3. determine the size of each text bounding box

4. move the text layers

 

I don't believe that number one can be scripted, the others should be possible though.

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 ,
Oct 15, 2024 Oct 15, 2024

Copy link to clipboard

Copied

Interesting, could it be done in a way that could be used for more points using the same script? Do you think it would need some counting, how many layers does it have and how many points does it have? Or start over from the first point, if the number of points is less than the layers. 

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
LEGEND ,
Oct 15, 2024 Oct 15, 2024

Copy link to clipboard

Copied

What script? Before you even write the script, you have to figure out the problem you want to solve and what steps it takes. I don't think this can be accomplished by a script. Not everything is scriptable. You'd need to take a deep dive into the scripting documentation to see.

https://developer.adobe.com/photoshop/

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 ,
Oct 15, 2024 Oct 15, 2024

Copy link to clipboard

Copied

LATEST

There is a script for InDesign that does this, but as they are different programs I was unsure whether it would work.

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