Click here to Skip to main content
16,017,833 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
i need to capture mouse path and replay that recorded mouse path. but i need to track the mouse without capturing screen. i need a source code to do that. i know that i can track the mouse path using x and y coordinates, but the problem is when i am getting that coordinates and how do i make it to replay that mouse path like we do in video or audio( that mean we record audio and video and replay it) i need to make windows form application to track the mouse path. please if anyone know how to do this,convey me.thx..........
Posted

1 solution

You could use library in this article: Global Mouse and Keyboard Library

For tracking and repalying mouse position I would use timer with interval of 50ms or something. In each tick current position is stored in a list. To replay movement another timer is started with same interval which gets next position from list and sets it as current mouse position(using library above)
 
Share this answer
 
Comments
sahani wickramasinghe 6-Jun-10 12:58pm    
IF u can please send me the source code to do that. How do i use this Global Mouse and Keyboard Library in my application. Please explain me all the steps to do that. If u can please send me the source code to do that.thx
johannesnestler 25-Jun-14 7:23am    
Can't you read or what? - sit down and code, damn such "send me code" nonsense makes me angry... (but that changes if you add - I send money :-) )

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900