Sunday, April 4, 2010

How to Record mouse click position...

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).
How to Record mouse click position...
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.
How to Record mouse click position...
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?

Hi

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.

%26gt; Is there any freeware available which can record the mouse action and play it again.



In Photoshop alone?



Aandi Inston

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.

No comments:

Post a Comment