Preventing Windows from moving the cursor on touch

A diagram shows what's this post is about:

Out of box, tapping a touchscreen display on Windows can move the cursor to touch location and leave it there, which can be an inconvenience on multi-display setups.

I made a macro that moves the cursor back to where it was before touching the screen.

If you use a touch-enabled display on Windows, you might have noticed a certain quirk: when you tap on the touchscreen, Windows might move your cursor to touch location, but will not put it back afterwards, which is an inconvenience if it's a smaller secondary display that you use for macros/etc. or even if you are using mouse/touch interchangeably.

So I wrote an AutoHotKey macro that fixes this.

Continue reading

Adding hotkeys to switch to N-th screen on Windows

Keyboard shortcuts for switching between desktops on Windows

For quite a while, the multi-screen setup on my desktop was powered by Synergy.
Which, I should say, is pretty neat, aside of it's complete unwillingness to send non-English keystrokes to additional devices.

Slightly more recently I've switched to using a more conventional dual-screen setup.
Which, of course, is more convenient (being able to drag a window to the second screen without having to sync the related media first), one thing would seem to be missing — the "hotkeys".

Moving the mouse over an entire monitor (or two) only to click something and move it back is not all that exciting, and Synergy's keyboard shortcuts for moving the mouse to N-th screen (while remembering the old position for returning) were a welcome feature.

Windows, unfortunately, does not seem to have any "built-in" keyboard shortcuts for swithing to a given screen, but that can be easily fixed with help of an AutoIt script:

Continue reading