Page 1 of 1

Change mouse location

Posted: Tue Jun 14, 2016 8:28 am
by wilbert
Short code to move the mouse pointer to a specific location. Might be useful sometimes.

Code: Select all

ImportC ""
  CGWarpMouseCursorPosition(x.CGFloat, y.CGFloat)
EndImport

CGWarpMouseCursorPosition(10, 100)