Hotkey detector - Page 1
Forum section: electronics / general

author: PlainName
author_rank: Super Contributor
timestamp: February 20, 2022, 09:56:13 pm
content: Some while back I installed an app (in Windows) which allows moving and sizing a window without dragging the window edge. Specifically, ctl-window-LMouse moves the window (with the mouse anywhere inside the window) and ctl-window-RMouse resizes (mouse left or right half of windows resizes using top left corner, right or bottom half uses bottom right corner).OK, great app. Problem is I don't know what it is. I've gone through every start menu entry (and there are a lot), every system startup app, drivers, downloads. Nothing rings a bell, and the typical ones that might do this (Actual Windows Manager, Dexpot, RTFB, etc) don't.So then I resorted to some available alleged hotkey detectors, none of which detected anything worth noting (some nothing at all). It seems that the definitive way to do this is to use spyxx from Visual Studio and trap WM_xxx messages when the hotkey is pressed. I don't have that and don't fancy install VS just for this...Anyone got a bright idea? Even better if you know the actual app from the description

author: T3sl4co1l
author_rank: Super Contributor
timestamp: February 20, 2022, 10:29:31 pm
content: Is it not AutoHotKey based?Don't know other hotkey tools offhand. Or how to find them. Aside from skimming through processes and spotting the odd one out.Tim

author: PlainName
author_rank: Super Contributor
timestamp: February 20, 2022, 10:39:44 pm
content: Don't think so, but if it is it's supplied as an exe rather than a script.I found Spyxx on an old VS2015 setup, but on reflection that's not going to help since it will just capture the window move messages to the target window, and the key press messages to every window.I think I must've missed a setting in one of the apps I know about...

author: rdl
author_rank: Super Contributor
timestamp: February 20, 2022, 11:57:56 pm
content: Yeah, first thing I'd do is callup Task Manager and look at what all is running. There shouldn't be very many Processes or Applications running but there's probably a bunch of Services to sort through.

author: PlainName
author_rank: Super Contributor
timestamp: February 21, 2022, 12:32:15 am
content: 165 processes...Many can be discounted but there are a ton under 'svchost.exe'. Annoying

author: rdl
author_rank: Super Contributor
timestamp: February 21, 2022, 12:49:55 am
content: Really? Which Windows? I only have 28 running on Win 7 Pro. You can filter by user and just look at the ones for your user name first.

author: PlainName
author_rank: Super Contributor
timestamp: February 21, 2022, 01:00:29 am
content: Win7 Pro. I have a feeling something like this would be system-wide, but either way I am failing to spot anything likely. If it weren't for the fact that it works I'd think I was dreaming it.

author: PlainName
author_rank: Super Contributor
timestamp: February 21, 2022, 01:25:21 am
content: Ha! Found it: it is actually in Actual Windows Manager which I originally suspected but discounted because it has hotkeys disabled. There's a special section for this bit, thoughFor anyone else wondering what this is about, it implements a feature that's present in Linux window managers called AltDrag. Naturally, a Windows version is called that too:https://stefansundin.github.io/altdrag/which was forked as AltSnap:https://github.com/RamonUnch/AltSnap/wiki