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

How to Record mouse click position coordinates

New Here ,
Jun 02, 2008 Jun 02, 2008

Copy link to clipboard

Copied

I want to write a plug-in that records all the mouse clicking position coordinates while using a polygon lasso tool. How can I get those? I have been reading through the API, but I see none of the functions that does so. Is there a way to record the x and y coordinates in an image. (Assumption: Only one layer).
TOPICS
SDK

Views

1.3K

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
Adobe
Adobe Employee ,
Jun 02, 2008 Jun 02, 2008

Copy link to clipboard

Copied

You cannot get those in the C SDK supplied by Photoshop. Your only option would be to use OS calls but I do not know how you would go about that.

Votes

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
New Here ,
Jun 03, 2008 Jun 03, 2008

Copy link to clipboard

Copied

Thank you Tom.

I have another doubt in this concern. Whenever we place the pointer on the image, we can see the x and y coordinates in the info pane. Is it possible to track in that way?

Votes

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
New Here ,
Oct 10, 2008 Oct 10, 2008

Copy link to clipboard

Copied

Hi

Votes

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
New Here ,
Oct 10, 2008 Oct 10, 2008

Copy link to clipboard

Copied

Hi,
Is there any freeware available which can record the mouse action and play it again. I want to implement it for regression and sanity testing for application(web).I want to automate the these testing.
Please suggest.

Thanks in anticipation.
Lalit.

Votes

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
Explorer ,
Oct 11, 2008 Oct 11, 2008

Copy link to clipboard

Copied

> Is there any freeware available which can record the mouse action and play it again.

In Photoshop alone?

Aandi Inston

Votes

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
New Here ,
Oct 20, 2008 Oct 20, 2008

Copy link to clipboard

Copied

LATEST
You could find the hwnd of what ever window you want to get the mouse information from then subclass it, then you will get all windows messages (WM_MOUSEMOVE, WM_LBUTTONDOWN etc). This is assuming you are using windows only.

I wouldn't have a clue about any other OS.

Votes

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