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

Is there a way to select reference point without clicking

Engaged ,
Aug 09, 2022 Aug 09, 2022

CleanShot 2022-08-09 at 13.06.56.png

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.

 

 

TOPICS
How to , Scripting
432
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

correct answers 1 Correct answer

Community Expert , Aug 09, 2022 Aug 09, 2022

Use the transformReferencePoint of the latyout window:

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

P.

Translate
Community Expert ,
Aug 09, 2022 Aug 09, 2022

Use the transformReferencePoint of the latyout window:

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

P.

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
Engaged ,
Aug 09, 2022 Aug 09, 2022

Thank you Peter. Much appreciated. 

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 ,
Aug 09, 2022 Aug 09, 2022
LATEST

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 )

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