Rotate 1° either direction with a single keystroke

Community Beginner ,
Feb 22, 2022 Feb 22, 2022

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.

TOPICS
Feature request , How to , Scripting

Views

100

Likes

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

Adobe Community Professional , Feb 22, 2022 Feb 22, 2022
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. 

Likes

Translate

Translate
Adobe Community Professional ,
Feb 22, 2022 Feb 22, 2022

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...

 

Screen Shot 2022-02-22 at 9.07.11 AM.png

... and to repeat it, create a keyboard shortcut for Object > Transform Again...Transform Again

 

Screen Shot 2022-02-22 at 9.06.29 AM.png

 

 

Likes

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 Beginner ,
Feb 22, 2022 Feb 22, 2022

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.

Likes

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 Beginner ,
Feb 22, 2022 Feb 22, 2022

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.

Likes

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 Professional ,
Feb 22, 2022 Feb 22, 2022

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. 

Likes

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 Beginner ,
Feb 22, 2022 Feb 22, 2022

Copy link to clipboard

Copied

LATEST

Thank you so much. Got it keymapped in a few minutes, you're the best!

Likes

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