Eun / MoveToDesktop

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

Additional (optional) hotkey to move and switch desktop #58

Open popq opened 5 years ago

popq commented 5 years ago

I would like to have the possibility to use separate hotkeys for moving a window and for moving a window and switching desktop, ex. CTRL+ALT+Right/Left for moving windows, and WIN+ALT+Right/Left for moving a window and switching desktop.

hacki11 commented 5 years ago

+1

bbrauchl commented 5 years ago

+2

onriv commented 5 years ago

+3, but anyway I do it with autohotkey (combine two hotkeys with one hotkey)

Junpliu commented 5 years ago

+4

Junpliu commented 5 years ago

+3, but anyway I do it with autohotkey (combine two hotkeys with one hotkey)

Could tell me how to edit the autohotkey script file, I am really new to this! Thank you so much!

onriv commented 5 years ago

+3, but anyway I do it with autohotkey (combine two hotkeys with one hotkey)

Could tell me how to edit the autohotkey script file, I am really new to this! Thank you so much!

Something like this:

#,::
  Send, {LWinDown}{AltDown}{Left}{LWinUp}{AltUp}
  Send, {LWinDown}{CtrlDown}{Left}{LWinUp}{CtrlUp}
  Return
#.::
  Send, {LWinDown}{AltDown}{Right}{LWinUp}{AltUp}
  Send, {LWinDown}{CtrlDown}{Right}{LWinUp}{CtrlUp}
  Return

https://autohotkey.com/docs/Hotkeys.htm