如何在鼠标移动时按下并按住alt键并按住?
Thread.Sleep(100);
SendKeys.Send("%"); // Should be command to hold // How here make this to hold till the next below the for loop?
for (int i = 0; i < 200; i++)
{
Thread.Sleep(10);
this.Cursor = new Cursor(Cursor.Current.Handle);
Cursor.Position = new Point(Cursor.Position.X - 1 * i, Cursor.Position.Y - 1 * i);
}
SendKeys.Send("%"); // Here should release.
重要的是我想在Windows 10中执行此操作。
感谢您的帮助!