AutoHotKeyを使う
https://github.com/sdias/win-10-virtual-desktop-enhancer/releasesを使っていたけどWindows11に上げたら使えなくなってしまったので調べた
1 2 3 4 5 6 7 8 9 10 11 12 |
; move active window to adjacent desktop Ctrl & I::Send,{Blind}#^{Left} Ctrl & O::Send,{Blind}#^{Right} Ctrl & 1::Send,{Blind}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left} Ctrl & 2::Send,{Blind}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Right} Ctrl & 3::Send,{Blind}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Right}#^{Right} Ctrl & 4::Send,{Blind}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Right}#^{Right}#^{Right} Ctrl & 5::Send,{Blind}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Left}#^{Right}#^{Right}#^{Right}#^{Right} Ctrl & 6::Send,{Blind}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Left}#^{Left}#^{Left} Ctrl & 7::Send,{Blind}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Left}#^{Left} Ctrl & 8::Send,{Blind}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Left} Ctrl & 9::Send,{Blind}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right}#^{Right} |
参考
https://qiita.com/hykisk/items/21a75e95ddfaf2edcc12