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

Mouse xy position in application.

Valorous Hero ,
Nov 22, 2017 Nov 22, 2017

A quick question based on the one in Illustrator Scripting: How can I get current Mouse position via Javascript?

The script will create an object (a small circle in this case) at the mouse's current position within the document's active layer. But I can't seem to find a call in the library to retrieve the location info. I know that the data is tracked because if I open the "Window > Info" tool it shows the cursor's X and Y position in relation to the document bounds.

Is there a call anywhere in the javascript library that gives me access to these data points?

Is it possible to get mouse position with extensions?

1.5K
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 , Nov 23, 2017 Nov 23, 2017

AFAIK, If we want to track pointer position in app window, we need to create a custom plugin.

Translate
Community Expert ,
Nov 23, 2017 Nov 23, 2017
LATEST

AFAIK, If we want to track pointer position in app window, we need to create a custom plugin.

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