Eun / MoveToDesktop

Move windows using hotkeys or the system menu
Other
1.05k stars 110 forks source link

Difficulty Modifying ini to change shortcuts. #47

Open grant-gregory opened 7 years ago

grant-gregory commented 7 years ago

I've been trying to modify the .ini to change the keyboard shortcut from WIN+ALT+LEFT/RIGHT to WIN+CTRL+SHIFT+LEFT/RIGHT.

When I change the .ini and then run the application I get the following message: Error registering [new keys] Error Code: 1409

Any help would be appreciated.

Eun commented 7 years ago

1409 is the error code for ERROR_HOTKEY_ALREADY_REGISTERED

This means there is already another application running that has this hot key registered. I don't know if one can find out which application. A google search should help.

Hope this helps

mzomparelli commented 6 years ago

Have you considered bypassing hotkeys altogether and using a keyboard hook? This will allow your users to choose any hotkey they like and even use the Windows key in their hotkey combinations (although the Windows key can be finicky sometimes). You can also override most of the built-in Windows 10 hotkeys with a keyboard hook.