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

Script to Fit and align to guidelines selection from layer

Participant ,
Jun 19, 2024 Jun 19, 2024

Copy link to clipboard

Copied

Hi, heres's there a way in Javascript for automate a lot of images to fit/resize to vertical guidelines and align the bottom of the selection to horizontal bottom guideline like example above ? Thanks for your help, Regards, Christianbefore.pngafter.png

TOPICS
Actions and scripting

Views

90

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

correct answers 1 Correct answer

Community Expert , Jun 19, 2024 Jun 19, 2024

@ChristianK-Fr 

 

You will need to add a fourth horizontal guide at the very top of the canvas (not the object), I haven't tested this script, however, it appears to be exactly what you're looking for.

 

https://www.marspremedia.com/software/photoshop/#fit-to-guides

 

Votes

Translate

Translate
Adobe
Community Expert ,
Jun 19, 2024 Jun 19, 2024

Copy link to clipboard

Copied

@ChristianK-Fr 

 

You will need to add a fourth horizontal guide at the very top of the canvas (not the object), I haven't tested this script, however, it appears to be exactly what you're looking for.

 

https://www.marspremedia.com/software/photoshop/#fit-to-guides

 

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
Participant ,
Jun 24, 2024 Jun 24, 2024

Copy link to clipboard

Copied

Hi Stephen, 

Thanks for your answer, finally I made my own script and it's works ! Thanks , Regards, Christian

 

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 ,
Jun 25, 2024 Jun 25, 2024

Copy link to clipboard

Copied

LATEST
quote

Hi Stephen, 

Thanks for your answer, finally I made my own script and it's works ! Thanks , Regards, Christian

 


By @ChristianK-Fr

 

 

Would you mind sharing it? I can mark it as a correct answer to indicate to others searching for a solution that one was found.

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