windows で仮想デスクトップ切り替えを数字キーと組み合わせて行う
macのようになにか+数字キーで行いたい
windows では簡単にはできないようだ
autohotkey入れる
https://zenn.dev/openjny/scraps/511c5025c4fc00
https://github.com/pmb6tz/windows-desktop-switcher
user_config.ahkを編集
ctrl + winkey + 数値なら
code:ahk
^#1::MoveCurrentWindowToDesktop(1)
^#2::MoveCurrentWindowToDesktop(2)
^#3::MoveCurrentWindowToDesktop(3)
^#4::MoveCurrentWindowToDesktop(4)
^#5::MoveCurrentWindowToDesktop(5)
^#6::MoveCurrentWindowToDesktop(6)
^#7::MoveCurrentWindowToDesktop(7)
^#8::MoveCurrentWindowToDesktop(8)
^#9::MoveCurrentWindowToDesktop(9)
winkey + 数値なら
code:ahk
#1::MoveCurrentWindowToDesktop(1)
#2::MoveCurrentWindowToDesktop(2)
#3::MoveCurrentWindowToDesktop(3)
#4::MoveCurrentWindowToDesktop(4)
#5::MoveCurrentWindowToDesktop(5)
#6::MoveCurrentWindowToDesktop(6)
#7::MoveCurrentWindowToDesktop(7)
#8::MoveCurrentWindowToDesktop(8)
#9::MoveCurrentWindowToDesktop(9)
desktop_switcher.ahk を起動
良さげならスタートアップにショートカットを登録