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:
Copy link to clipboard
Copied
Actions cannot help you, especially if you have different anchor points each time.
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.
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.
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.
Copy link to clipboard
Copied
There is a script for InDesign that does this, but as they are different programs I was unsure whether it would work.