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

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

168

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

Community Expert , 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. 

Votes

Translate

Translate
Community Expert ,
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

 

 

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

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

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

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

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