Conor's Snippet Diary
Friday, 2 October 2009
How to programatically move the mouse in C#
.Net gives you access to the mouse via the "Cursor" class. You can interact with the mouse position like this:
Cursor.Position = new Point(Cursor.Position.X + 10, Cursor.Position.Y + 10);
Easy peesy
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment