Double-pressing the "Y" key to move window to the right without blocking the letter "y"

Discussion, questions and support.
Post Reply
Stoef69
Posts: 17
Joined: Sep 3rd, ’24, 10:49

Post by Stoef69 » Mar 22nd, ’25, 16:46

Hi everyone,

I'm using FastKeys, and I would like to set up a shortcut where double-pressing the Y key moves the currently active window to the left half of the screen – similar to Windows Snap Assist.
So far, I’ve managed to get the window movement working with a script. However, once I assign y as the hotkey, I can no longer type the letter y normally. It gets blocked completely.

Is there a way to: Detect a double press of y, but still allow normal typing of y when it's pressed once?

I’d really appreciate any suggestions – and I’d be especially happy if someone could provide a working script for this. 🙏

Thanks in advance.

Stefan
User avatar
Tom
Posts: 897
Joined: Nov 24th, ’15, 23:39

Post by Tom » Mar 22nd, ’25, 23:15

Enable the “Native” option when setting the shortcut.
Stoef69
Posts: 17
Joined: Sep 3rd, ’24, 10:49

Post by Stoef69 » Mar 23rd, ’25, 00:40

Thank you for your response, Tom.
I noticed that the macro already exists in the collection under Command > Windows. So I was able to solve the problem. Thank you very much for your help!
Post Reply