The year is 2021. In Windows 11, how can I move the current focused window to the next windows desktop using touche de raccourcis only?
Je sais that I can switch desktops using these combinations:
Win+Ctrl+→: Switch to the next desktop
Win+Ctrl+←: Switch to the previous desktop
Adding the following touche de raccourcis seem most comfortable to me - and used in Ubuntu:
Win+Ctrl+Shift+→: Move current window to the next desktop
Win+Ctrl+Shift+←: Move current window to the previous desktop
Similar touche de raccourcis to above would be acceptable... but even better if I can re-map them to my preferred combination.
Is there anything like this out of the box? Or do J'ai besoin de install some 3rd party tools?
Moving current window to another desktop in Windows 11 using touche de raccourcis
Re: Moving current window to another desktop in Windows 11 using touche de raccourcis
Win+Ctrl+Shift+→: Move current window to the next desktop
Win+Ctrl+Shift+←: Move current window to the previous desktop
This `ahk` script fonctionne pour moi:
```
^#+Left::
n := VD.getCurrentDesktopNum()
if n = 1
{
Return
}
n -= 1
VD.MoveWindowToDesktopNum("A",n), VD.goToDesktopNum(n)
Return
^#+Right::
n := VD.getCurrentDesktopNum()
if n = % VD.getCount()
{
Return
}
n += 1
VD.MoveWindowToDesktopNum("A",n), VD.goToDesktopNum(n)
Return
```
Vous pouvez find more at [https://github.com/FuPeiJiang/VD.ahk]( 2 ) and [https://www.autohotkey.com/]( 3 )
Win+Ctrl+Shift+←: Move current window to the previous desktop
This `ahk` script fonctionne pour moi:
```
^#+Left::
n := VD.getCurrentDesktopNum()
if n = 1
{
Return
}
n -= 1
VD.MoveWindowToDesktopNum("A",n), VD.goToDesktopNum(n)
Return
^#+Right::
n := VD.getCurrentDesktopNum()
if n = % VD.getCount()
{
Return
}
n += 1
VD.MoveWindowToDesktopNum("A",n), VD.goToDesktopNum(n)
Return
```
Vous pouvez find more at [https://github.com/FuPeiJiang/VD.ahk]( 2 ) and [https://www.autohotkey.com/]( 3 )