Example #1
0
 public void moveMouseToWithDelay(int x, int y, int delay)
 {
     Task.Delay(delay).ContinueWith(_ =>
     {
         MotorCortex.moveMouseTo(x, y, 1);
     });
 }
Example #2
0
 public void exitedLeagueOfLegends()
 {
     MotorCortex.moveMouseTo(0, 0, 1);
     MotorCortex.releaseControlKey();
     MotorCortex.releaseShiftKey();
     MotorCortex.pressTabKey();
 }