Skip to main content
niyetkhan
Known Participant
December 30, 2021
Answered

Photoshop script rotate all open images counterclockwise

  • December 30, 2021
  • 3 replies
  • 3063 views
Hello!

I have a question:
can a script rotate all open images counterclockwise?
It has become a daily routine for me, and takes a long time...
I would be very grateful for your answers,
Niyetkhan
This topic has been closed for replies.
Correct answer Kukurykus

Modify 'apply to all open documents' script I shared with you in other thread, by using:

 

activeDocument.rotateCanvas(-90)

 

3 replies

Trevor.Dennis
Community Expert
Community Expert
December 30, 2021

It would surely be easier to do it in Bridge.

Stephen Marsh
Community Expert
Community Expert
December 30, 2021

I agree... As long as all the software in the viewing and editing chain respects the orientation metadata.

 

Edit: forgot to mention that if rotated in Bridge and then re-saved in say Photoshop, the new rotation will be "baked in" and no longer reliant on metadata for rotation.

Kukurykus
KukurykusCorrect answer
Legend
December 30, 2021

Modify 'apply to all open documents' script I shared with you in other thread, by using:

 

activeDocument.rotateCanvas(-90)

 

niyetkhan
niyetkhanAuthor
Known Participant
December 30, 2021

Thank you very much!!!

JJMack
Community Expert
Community Expert
December 30, 2021

Does it have to be a Script. A simple one step action is all that is needed.  Menu Image>Image Rotation>90  Counter Clockwise.

 It would be easy to script that batch process. But it will take you a long time to write that script for you asked that question so you do not know how to Script Photoshop.  Scripting is no an easy task like recording an action.

JJMack