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

Rotate image via radial controller

New Here ,
Jan 23, 2022 Jan 23, 2022

Hello! Is there a way to rotate image via radial controller (mini keydial)? For instance, in Krita I can bind ctrl + ] and ctrl + [ to radial controller and rotate image by rotating controller wheel.

TOPICS
Windows
816
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
Adobe
Community Expert ,
Jan 23, 2022 Jan 23, 2022

What about using the rotate tool or it's Shortcut:

OmarFathy_0-1642975799125.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
New Here ,
Jan 23, 2022 Jan 23, 2022

I don't think it is suitable for radial controller. Need to hold R + hold left button + move mouse for rotating.

Controller wheel can be mappped to 2 buttons, one for clockwise and another for counterclockwise rotation. So are there any?

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 23, 2022 Jan 23, 2022

An interesting point is that through the script we can set the angle of the canvas (and it will even be saved in the tool settings), but in fact there is no rotation. It can be assumed that the code does not work, but, for example, if we change the rotateAll option, then changing it through the script immediately appears on the toolbar.

 

#target photoshop;

var s2t = stringIDToTypeID;
(r = new ActionReference()).putClass(s2t("rotateTool"));
(d = new ActionDescriptor()).putReference(s2t("target"), r);
(d1 = new ActionDescriptor()).putInteger(s2t('angle'),99)
d.putObject(s2t("to"), s2t("target"), d1);
executeAction(s2t("set"), d, DialogModes.NO);

 

Rotate tool does not assign angle value trougth script

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
Community Expert ,
Jan 23, 2022 Jan 23, 2022

Do you want to rotate an image or only its display? 

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
New Here ,
Jan 25, 2022 Jan 25, 2022
LATEST

Just display

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