Copy link to clipboard
Copied
Is there a way to choose the reference point without clicking. It would be very helpful to be able to so this for some of my macros, or so I could preselect a reference point (so the grid always appears in a reliable way with the same ref point selected) then use "Click at found image" in Keyboard Maestro.
Use the transformReferencePoint of the latyout window:
app.windows[0].transformReferencePoint = AnchorPoint.TOP_LEFT_ANCHOR;
P.
Copy link to clipboard
Copied
Use the transformReferencePoint of the latyout window:
app.windows[0].transformReferencePoint = AnchorPoint.TOP_LEFT_ANCHOR;
P.
Copy link to clipboard
Copied
Thank you Peter. Much appreciated.
Copy link to clipboard
Copied
Hi @MrZZY ,
alternative values for transformReferencePoint can be found in the DOM documentation:
https://www.indesignjs.de/extendscriptAPI/indesign-latest/#AnchorPoint.html#d1e102866
Regards,
Uwe Laubender
( Adobe Community Professional )