Skip to main content
Inspiring
August 9, 2022
Answered

Is there a way to select reference point without clicking

  • August 9, 2022
  • 3 replies
  • 488 views

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.

 

 

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer Peter Kahrel

Use the transformReferencePoint of the latyout window:

app.windows[0].transformReferencePoint = AnchorPoint.TOP_LEFT_ANCHOR;

P.

3 replies

MrZZYAuthor
Inspiring
August 9, 2022

Thank you Peter. Much appreciated. 

Community Expert
August 9, 2022

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 )

Peter Kahrel
Community Expert
Peter KahrelCommunity ExpertCorrect answer
Community Expert
August 9, 2022

Use the transformReferencePoint of the latyout window:

app.windows[0].transformReferencePoint = AnchorPoint.TOP_LEFT_ANCHOR;

P.