返回
Mac一分为二显示屏幕的技巧
电脑技巧
2023-10-31 21:34:49
macOS 屏幕分屏指南:高效多任务处理
在当今快节奏的数字世界中,同时处理多个任务已成为常态。得益于 macOS 的屏幕分屏功能,您可以在同一屏幕上无缝查看和管理多个窗口,提升您的效率。
快捷键
掌握屏幕分屏快捷键可让您快速调整窗口布局。
- Control + Command + F :将窗口移动到屏幕左侧
- Control + Command + Right Arrow :将窗口移动到屏幕右侧
系统设置
通过 macOS 系统设置,您可以微调屏幕分屏偏好。
- 前往 系统偏好设置 > 任务控制
- 勾选 自动整理窗口
- 勾选 允许 Mission Control 从屏幕顶部向下滑动手势
- 勾选 显示 Mission Control 时,按住 Control 键
第三方应用
除了使用内置功能,还可以借助第三方应用增强屏幕分屏体验。
- Divvy :功能强大的屏幕分屏工具,提供各种布局选项
- Magnet :自动将窗口对齐到屏幕边缘或特定位置
- Spectacle :简洁易用的应用,可快速调整窗口大小和位置
小贴士
- 使用 Mission Control 管理窗口 :Mission Control 可让您预览所有打开的窗口并轻松切换它们。
- 键盘快捷键调整窗口大小 :
- Command + Option + Up Arrow :窗口放大
- Command + Option + Down Arrow :窗口缩小
- Command + Option + Left/Right Arrow :窗口左右移动
- 鼠标调整窗口大小 :
- 拖动窗口边缘:调整窗口大小
- 双击窗口标题栏:窗口放大或缩小
代码示例
使用以下 AppleScript 代码可实现自定义屏幕分屏布局:
-- 将窗口移动到屏幕左侧
tell application "System Events"
set myBounds to bounds of front window
set leftBound to (myBounds's x) + 10
set newBounds to {leftBound, myBounds's y, ((leftBound + myBounds's width) / 2), myBounds's height}
set position of front window to newBounds
end tell
-- 将窗口移动到屏幕右侧
tell application "System Events"
set myBounds to bounds of front window
set rightBound to (myBounds's x) + (myBounds's width / 2)
set newBounds to {rightBound, myBounds's y, myBounds's width, myBounds's height}
set position of front window to newBounds
end tell
常见问题解答
-
如何关闭屏幕分屏?
- 按住 Control 键并向左或向右滑动窗口以退出分屏模式。
-
我可以分屏多个窗口吗?
- 是的,您可以同时分屏任意数量的窗口。
-
屏幕分屏不工作怎么办?
- 确保已启用 自动整理窗口 设置,并且未在 Mission Control 设置中禁用了屏幕分屏手势。
-
有哪些其他屏幕分屏技巧?
- 使用 Mission Control 堆叠窗口以创建虚拟工作区。
- 使用 空格键 预览所有打开的窗口并在它们之间快速切换。
-
哪些 macOS 版本支持屏幕分屏?
- 屏幕分屏功能自 macOS Mojave 起可用。
结论
macOS 的屏幕分屏功能是一项宝贵的工具,可以显着提高您的工作效率和多任务处理能力。通过掌握快捷键、自定义设置和利用第三方应用,您可以充分利用屏幕分屏的优势,打造高度定制化且高效的工作空间。