I run setup with two monitors.
Moving from a monitor from 1 to 2 (or vice versa) requires a lot of unnecessary mouse movement.
My thought was to use an extra mouse button (I have two) and have a mouse hyper-jump (apologies to Star Trek) from the XY coordinates on monitor 1 to the same XY coordinates on monitor 2.
How should I do it?
Can this be done using C #?
As for coordinates, two monitors stick together as one large area.
Screen.AllScreens, , , Cursor.Position, .
Screen.AllScreens
Cursor.Position
#, . , deltreme, Cursor.Position, , , .
, , - , AutoHotkey AutoIt.
script AutoIt, :
HotKeySet("{F6}", "Jump") While True WEnd Func Jump() MouseMove(-500, 500, 0) EndFunc
WH_MOUSE_LL SetWindowsHookEx(), , . # . MouseMessages, , . - 0x207, X- - 0x20b. , , , .
, Cursor.Position. Screen . 3- .
Source: https://habr.com/ru/post/1750285/More articles:Why does the behavior of Response.Write change in this scenario? - c #simple question: the difficulty of declaring and using a variable - asp.net-mvcSimulation software for designing a network serialization protocol - designcomparing dates in C # with zero in mind - c #Where to host the root web server? - linuxWhy scripts are given .phtml extension when working with zend framework? - phpProblem with virtual directory for cruise control.net - cruisecontrol.netHow to skip extra lines before the header of a tab delimited file in R - rDatabase abbreviation - sqlJboss error - unable to process metadata - javaAll Articles