-- 在屏幕间移动程序 function moveFocusedWindowBetweenDesktops() local win = hs.window.focusedWindow() local screen = win:screen() win:moveToScreen(screen:next(), 0)
-- 移动到其他屏幕后应用的标题包含 "RDP-Windows" 则全屏 if string.find(win:title(), "RDP-Windows", 1, true) then win:setFullScreen(true) end end
luguhu
2023-11-20 14:25:38 +08:00
rectangle, 直接快捷键切换
oxoxoxox
2023-11-20 14:29:07 +08:00
左手单指按住不动,右手单指拖动,右手单指允许离开触控板多次拖动,直到窗口移动到指定的位置 另外,还可以在 Mission Control 界面,执行上面的操作,可以更快的将窗口移动到指定的屏幕中