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

Help with a Script - Moving a Path to a specific point on my canvas (centred and 15% from bottom)

New Here ,
May 30, 2023 May 30, 2023

Copy link to clipboard

Copied

Hi!

I'm trying to center some objects (each within their own image, and each with their own Path within those images) using a script so I can automate the process.
Im wanting to center the objects horizontally, Left to Right, using their path, and then have it moved to a specific guide on the vertical axis at say 85% (15% from the bottom)
Because my objects have shadows, I cant use regular Tranform/Move+Align, as they throw off the centre point. 

Any suggestions would be appreciated greatly, cheers 🙂

TOPICS
Actions and scripting

Views

177

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 ,
May 30, 2023 May 30, 2023

Copy link to clipboard

Copied

In other words your objects have rasterized shadow effect? But you want to align edge of the object without shadow taken in account? I have no clear idea beside some complicated process like: select subject > mask > convert to smart object > align > convert smart object back to layers > delete layer mask without applying it. Critical step is Select Subject, if that works well it is probably possible to automate using action. I will tag scripters which may have better idea to solve problem using script @Stephen Marsh @c.pfaffenbichler 

 

It will be also useful to capture screen with Layers panel expanded and visible so we can get better idea what is the problem.

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 ,
May 30, 2023 May 30, 2023

Copy link to clipboard

Copied

LATEST

Your description is not clear to me, please provide a file to clarify and/or post the requested screenshot. 

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