Copy link to clipboard
Copied
Hello!
I am placing and arranging photographs on a page for school yearbooks. These are not the grid-arranged panel pages, rather the scattered-style candid images.
Right now, I am placing and rotating by grabbing the corner, but I would like to hotkey Rotate 1° Clockwise/Counterclockwise to two of the Function keys. Would this be possible with a script set to a hotkey? I've never written a script before.
I have also used prearranged Library Styles with Bridge to place the images into a pre-scattered arrangement, but I honestly find it much faster because of culling and curation to place and rotate them individually.
The +1 rotation:
try { app.selection[0].rotationAngle += 1 } catch(e) {}
And the -1:
try { app.selection[0].rotationAngle -= 1 } catch(e) {}
Only select one frame at a time.
Copy link to clipboard
Copied
I don't know whether it could be scripted but you can separately set keyboard shortcuts for Object > Rotate... [which prompts you for a rotation angle] then press Return...
... and to repeat it, create a keyboard shortcut for Object > Transform Again...Transform Again
Copy link to clipboard
Copied
I see. I was hoping to find an way to incrimentally adjust, as I wish to map it to a physical knob on my keyboard to rotate a selected object in as few keystrokes as possible.
Object > Transform Again is new to me, and solves an unrelated issue so I'm very thankful for that lesson.
Copy link to clipboard
Copied
OH, I've reread and I think understand how this could be scripted. Thank you!
Now I just have to learn how to write a script for that, and I'll be set.
Copy link to clipboard
Copied
The +1 rotation:
try { app.selection[0].rotationAngle += 1 } catch(e) {}
And the -1:
try { app.selection[0].rotationAngle -= 1 } catch(e) {}
Only select one frame at a time.
Copy link to clipboard
Copied
Thank you so much. Got it keymapped in a few minutes, you're the best!