Skip to main content
Participant
October 15, 2024
Question

Move text layers to anchor points

  • October 15, 2024
  • 2 replies
  • 478 views

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:

This topic has been closed for replies.

2 replies

Legend
October 15, 2024

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.

kelsonmAuthor
Participant
October 15, 2024

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. 

Legend
October 15, 2024

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/

Bojan Živković11378569
Community Expert
Community Expert
October 15, 2024

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