Move object using javascript

Engaged ,
May 24, 2022 May 24, 2022

Copy link to clipboard

Copied

How it is possible to move selected object by a certain number of milimetars, using javascript? 

Thanks in advanced

TOPICS
Actions and scripting , macOS

Views

33

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 , May 24, 2022 May 24, 2022
activeDocument.activeLayer.translate(new UnitValue (10, "mm"), new UnitValue (20, "mm"));

Likes

Translate

Translate
Adobe Community Professional ,
May 24, 2022 May 24, 2022

Copy link to clipboard

Copied

LATEST
activeDocument.activeLayer.translate(new UnitValue (10, "mm"), new UnitValue (20, "mm"));

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