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

Rename Selected (vertical / horizontal)

Explorer ,
Sep 10, 2020 Sep 10, 2020

Copy link to clipboard

Copied

want to rename selected layer

if layer is Vertical then rename to "Auto_Vert"

if layer is horizontal then rename to "Auto_Horz"

 

TOPICS
Actions and scripting

Views

726

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 ,
Sep 11, 2020 Sep 11, 2020

Copy link to clipboard

Copied

Are you referring to the layers aspect ratio being portrait or landscape  you can get that from the layers bounds so it would be easy to change the layers name according to its aspect ratio.

JJMack

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
Explorer ,
Sep 11, 2020 Sep 11, 2020

Copy link to clipboard

Copied

yes sir. it is related to aspect ratio of inserted frame or shape.

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 ,
Sep 11, 2020 Sep 11, 2020

Copy link to clipboard

Copied

Then it shoud be easy for you to script the process you want automated make it part of your insert process whatever that is.

JJMack

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 ,
Sep 11, 2020 Sep 11, 2020

Copy link to clipboard

Copied

You can rename the layers to whatever you want.

Layers are not horizontal or vertical, they just use the entire document (even though they may contain a lot of transparency around them)

Adobe Community Expert
Adobe Certified Professional

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 ,
Sep 11, 2020 Sep 11, 2020

Copy link to clipboard

Copied

That is not correct.

Layer can be any size they can be much latger then a  documents canvas size and they can be much smaler then  a document canvas size. All Layer have a retangular layer's bounds that will have some aspect ratio.

Capture.jpg

JJMack

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
Explorer ,
Feb 05, 2023 Feb 05, 2023

Copy link to clipboard

Copied

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 ,
Feb 05, 2023 Feb 05, 2023

Copy link to clipboard

Copied

@nandu nag I understand that you have an issue, but please stop posting in other threads.

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 ,
Feb 05, 2023 Feb 05, 2023

Copy link to clipboard

Copied

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
Explorer ,
Feb 05, 2023 Feb 05, 2023

Copy link to clipboard

Copied

thanks ... Sorry to not to proper Work...QEYs46uXM9.png

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 ,
Feb 05, 2023 Feb 05, 2023

Copy link to clipboard

Copied


@nandu nag wrote:

thanks ... Sorry to not to proper Work...


 

 

I posted one version on  Jun 19, 2022 – then another on  Jul 12, 2022 – both using different code to process selected layers. Both obviously working for me at the time. What version of Photoshop doesn't work?

 

Which code doesn't work? What do you mean by doesn't work. Can you provide a sample file?

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-to-ignore-text-layer-amp-png-laye...

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
Explorer ,
Feb 05, 2023 Feb 05, 2023

Copy link to clipboard

Copied

I am using Photoshop CC 2021. .in this script either rename all selected layer in "HFrame or VFrame "....plz watch video

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 ,
Feb 05, 2023 Feb 05, 2023

Copy link to clipboard

Copied

LATEST

That doesn't answer which of the scripts from either Jun 19, 2022 – then another on  Jul 12, 2022 in the previously referenced topic is being used. With no sample file provided, it is hard to comment.

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