Hi there im trying to put decimal value in "sleep" and XY mouseevent value someone can help me ??
greats,
Try to put decimal value in XY axis mouseevent
Re: Try to put decimal value in XY axis mouseevent
No. Mouse movement is in pixels, and you cannot sub-divide a pixel.
Sleep is in milliseconds, and cannot be a decimal. Furthermore, any values for sleep below ~10 will not yield a shorter sleep.
It *is* possible to send smaller movement than one pixel, but not by moving the cursor. The x / y params in a mouse_event dllcall (DllCall("mouse_event", uint, 2, int, x, int, y, uint, 0, int, 0)) are in "Mickeys". One mickey is quite probably less than one pixel.
Sleep is in milliseconds, and cannot be a decimal. Furthermore, any values for sleep below ~10 will not yield a shorter sleep.
It *is* possible to send smaller movement than one pixel, but not by moving the cursor. The x / y params in a mouse_event dllcall (DllCall("mouse_event", uint, 2, int, x, int, y, uint, 0, int, 0)) are in "Mickeys". One mickey is quite probably less than one pixel.
Re: Try to put decimal value in XY axis mouseevent
ok thx a lot for faster response
Who is online
Users browsing this forum: No registered users and 127 guests