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

Rotate the horizontal image into a vertical one using a Photoshop script. Skip the vertical ones.

Participant ,
Jan 12, 2023 Jan 12, 2023

Greetings. I'm looking for a way to automatically batch rotate pictures.

The horizontal picture should become vertical by rotating clockwise. And the vertical one the script should skip.

 

I understand that this is not a complicated script, but unfortunately I don't have enough knowledge to create it yet.

I hope for your help 🙏

IMG_20230112_210334.jpg

IMG_20230112_210311_013.jpg

 

TOPICS
Actions and scripting
814
Translate
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

Mentor , Jan 12, 2023 Jan 12, 2023

It's great that you found a solution!

Everything is much simpler and here you can do without a script: just use the conditions in the actions:

2023-01-13_01-48-47.png

2023-01-13_01-48-31.png

2023-01-13_01-49-00.png

Translate
Adobe
Participant ,
Jan 12, 2023 Jan 12, 2023
Translate
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
Mentor ,
Jan 12, 2023 Jan 12, 2023

It's great that you found a solution!

Everything is much simpler and here you can do without a script: just use the conditions in the actions:

2023-01-13_01-48-47.png

2023-01-13_01-48-31.png

2023-01-13_01-49-00.png

Translate
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 ,
Jan 12, 2023 Jan 12, 2023

Oh! How could I not know about this function 🤦

 

Thank you so much for your help!

Translate
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 ,
Jan 13, 2023 Jan 13, 2023

@jazz-y  I tried this option, but I got an unexpected option.

If the file is horizontal, that's right, the action expands it vertically.
But if the photo is vertical, then the action mirrors it. Although I don't see it in the action steps themselves.

Can you tell me what the problem is?

 

1. the original
2. using action
3. Repeated use of action

 

Andry_J_0-1673610179579.pngAndry_J_1-1673610207760.pngAndry_J_2-1673610244937.png

 

Translate
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
Mentor ,
Jan 13, 2023 Jan 13, 2023
LATEST

When I created the condition in the action, I left the "else play action" field blank.

2023-01-13_01-48-31.png

Perhaps you specified some other action there. It is also possible that you have written everything in one action.

If that doesn't help, post a screenshot of your action panel with expanded commands.

Translate
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