Answers:
您正在寻找的钥匙是Cmd。
选择文件–任何视图都可以工作–然后用鼠标光标移动到文件列表旁边的空白处。按住Cmd并拖动以反转选择:
如果您不想使用鼠标,则另一种方法是使用AppleScript。打开Automator.app,创建一个新服务。在左侧窗格中,将“运行AppleScript”拖到右侧,然后粘贴以下内容:*
on run {input, parameters}
tell application "Finder"
set inverted to {}
set fitems to items of window 1 as alias list
set selectedItems to the selection as alias list
repeat with i in fitems
if i is not in selectedItems then
set end of inverted to i
end if
end repeat
select inverted
end tell
return input
end run
将此服务设置为从Finder.app接收无输入。像这样:
将此服务另存为“ 反向选择”。然后,转到“ 系统偏好设置”»“键盘”»“键盘快捷方式”,然后将快捷方式添加到服务中,例如ShiftCmdI:
现在,在Finder中选择任何文件,然后按快捷方式以反转选择。
*我在Apple Mailing Lists上找到了它,虽然不知道是谁写的。
cmd
诀窍是真棒。