1
I've got a laptop running Windows 7, and it's usually playing music. It's not in a secure location, so I like to lock the screen when I'm not actively using it. When I lock the screen, the media keys no longer work, so I can't control the music, which I'd still like to be able to do when it's locked. The volume buttons work, but play/pause, next, previous, and stop do not.
Microsoft's recommendation is to simply disable your lock screen. Thanks, but no thanks. There was a similar question on this site a while ago that mentions using psexec
. This looks promising, but it's not a complete solution. Is there maybe a program I could run through that that would just pass media keys through to running applications when the screen is locked? I'd prefer an application-agnostic solution that would simply emulate media keys to whatever's running.
The question I linked to mentioned Winamp, but that's not what I'm using. At the moment it's Spotify I'd like to control, but ideally I'd like complete media key emulation that would work with anything that listens for media keys. – Dan – 2014-03-10T20:08:00.913
As far as I could read it - sending Keystrokes to the disabled Desktop can be tricky... I think the best approach would be a script with 2 Parts - One running on the Lockscreen, reading Keyboard-Input and sending these inputs via TCP to localhost. The second is a Script running on the real,hidden desktop and listens on localhost for messages from the first script and uses SendInput to spotify – Falco – 2014-03-11T14:45:05.003