How would I go about making a small program that keeps moving the mouse upwards?
For those who would like to know, tt\'s a tiny one-use thing. I\'m playing Sta
SetCursorPos
will do this in unmanaged code. I'm not sure if there's a .NET method to do the same, but you can always use com interop. It's in User32.dll
[DllImport("user32.dll")]
static extern bool SetCursorPos(int X, int Y);
a little google produces this as a SetCursorPos equivalent for .net
System.Windows.Form.Cursor.Position