快速访问最近的项目(quick access to recent items)是每个Mac用户都想要的,因为它可以立即让他们回到之前未完成的工作。您可能想继续阅读昨天某人发送给您的PDF文件,或者您可能想完成昨晚未完成的故事。
除非您将所有这些文件都保存在桌面上,否则您真的无法通过点击几下访问它们。即使您决定将这些文件存储在桌面上,也有有限的空间是您无法超越的。
如果您对这些限制感到困扰,Mac的(Mac)Dock中有一个隐藏功能可以帮助您。此功能有助于将经常访问的项目添加到Dock,以便您快速访问它们。
将最近的项目堆栈添加到 Dock(Add The Recent Items Stack To The Dock)
Mac的(Mac)Dock中已经有许多应用程序。如果您将光标移到屏幕底部,您将显示Dock及其中的所有内容。
Dock不限于默认显示的内容。它的隐藏功能之一是能够将您的自定义项目添加到列表中(add your custom items to the list)。通过这种方式,您可以将自定义堆栈添加到Dock,以显示Mac上最近的项目。
添加堆栈后,只需单击它即可显示您最近的文件。以下是使用终端的方法:
Launch the Terminal app on your Mac. Type in the following command into the Terminal and hit Enter.
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = {"list-type" = 1; }; "tile-type" = "recents-tile";}' && \killall Dock
一个新的堆栈将添加到Dock中,您可以单击它来打开它。
默认情况下,堆栈将显示Mac上最近访问的应用程序。如果需要,您可以保留它,或者您可以自定义它以显示其他内容。
用其他文件类型替换最近的应用程序(Replace Recent Apps With Other File Types)
例如,如果最近的应用程序不是您要查找的,并且您希望快速访问最近的文档,则可以更改Dock中的堆栈以相应地显示这些项目。
自定义新添加的堆栈就像单击它并选择一个选项一样简单。这次您甚至不需要运行任何命令来让堆栈在列表中显示您选择的项目。
在Dock(Dock)中找到新添加的堆栈,右键单击堆栈,然后选择菜单顶部显示的任何选项。这些选项包括最近的应用程序、最近的文档、最近的服务器、最近的卷(Recent Applications, Recent Documents, Recent Servers, Recent Volumes)和最近的项目(Recent Items)。
根据您的选择,堆栈将相应地显示您的项目。
您也可以尝试其他选项,直到它满足您的需求。
向 Dock 添加其他自定义堆栈(Add Additional Custom Stacks To The Dock)
如果您需要访问各种类型的最新项目,那么一个堆栈对您来说是不够的。您将需要向 Mac 的Dock添加额外的堆栈,每个堆栈都有自己的文件类型。
以下是如何添加它:
启动终端(Terminal)应用程序并在其中运行以下命令。
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = {"list-type" = 1; }; "tile-type" = "recents-tile";}' && \killall Dock
当Dock(Dock)中出现新堆栈时,右键单击堆栈并选择要显示的文件类型。
您可以根据需要多次运行上述命令。它每次都会添加一个堆栈。然后,您可以自定义每个堆栈在Mac的(Mac)Dock中显示的内容。
将自定义最近项目堆栈添加到 Dock(Add Custom Recent Items Stack To The Dock)
如果您注意到,默认堆栈仅允许您访问某些最近的文件类型。如果您想要更多,上下文菜单中没有选项可以执行此操作。但是,这并不意味着您不能将自定义最近项目添加到您的Dock。
Mac 有另一个有用的功能,称为智能文件夹(useful feature called Smart Folders)。这些实际上是保存的搜索,可帮助您快速找到您在Mac上查找的任何文件和文件类型。创建智能文件夹(Smart Folder)后,您实际上可以将其固定到Dock(Once)并(Dock)从那里访问它。
这为您提供了更多选项和控制您可以从Dock访问的内容。这是你如何做到的:
在Mac(Mac)上创建您选择的自定义智能文件夹(Smart Folder)。可能是一个文件夹,显示您Mac上最近打开的(Mac)PDF文件。您的屏幕应如下所示。
单击保存(Save),输入智能文件夹(Smart Folder)的名称,然后将文件夹保存在桌面上。
在桌面上看到该文件夹后,将其拖放到Dock上。然后它会坐在那里。
扇形(Fan)布局可能不适用于PDF文件。因此,右键单击Dock中的堆栈并选择Grid。现在应该看起来好多了。
在 Dock 中显示更多最近的项目(Show More Recent Items In The Dock)
默认情况下,堆栈最多只能显示列表中的 10 个最近项目。如果您需要更多,您需要更改Mac上的值,如下所示。
单击(Click)左上角的Apple标志,然后选择(Apple)System Preferences。
在以下屏幕上选择常规。(General)然后,您会找到一个选项,即“最近的项目(Recent Items)” 。使用选项旁边的下拉菜单来选择堆栈列表中所需的项目数。
您可以在固定在Dock上的堆栈中显示最多 50 个项目。
从 Dock 中删除最近的项目堆栈(Delete Recent Items Stack From The Dock)
如果您不再需要最近的项目堆栈,可以通过单击Dock中的选项将其删除。
找到要删除的堆栈,右键单击堆栈,然后选择Remove from Dock。
堆栈将不再出现在您的Dock中。
How To Access Recent Items From The MacOS Dock
Getting quick access to recent items is something every Mac user desires as it immediately lets them get back to their previously unfinished work. You may want to continue reading the PDF file that someone sent you yesterday, or maybe you want to finish off the story that you left unfinished last night.
Unless you keep all of these files on your desktop, you really can’t access them with a few clicks. Even if you decide to store these files on the desktop, there’s a limited amount of space beyond which you can’t go.
If you’re troubled by these limitations, there’s a hidden feature in the Dock of your Mac that will help you out. This feature helps add frequently accessed items to the Dock for you to quickly access them.
Add The Recent Items Stack To The Dock
There are already a number of apps sitting in the Dock of your Mac. If you bring your cursor to the bottom of your screen, you’ll reveal the Dock with everything it has in it.
The Dock isn’t limited to what it shows by default. One of its hidden features is the ability to add your custom items to the list. This way you can add a custom stack to the Dock that shows recent items on your Mac.
Once the stack is added, it’s then just a matter of clicking on it to bring up your recent files. Here’s how you do it using the Terminal:
Launch the Terminal app on your Mac. Type in the following command into the Terminal and hit Enter.
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = {"list-type" = 1; }; "tile-type" = "recents-tile";}' && \killall Dock
A new stack will be added to the Dock and you can click on it to open it.
By default, the stack will show the recently accessed applications on your Mac. You can keep it if you want, or you can customize it to show something else instead.
Replace Recent Apps With Other File Types
If recent apps isn’t what you’re looking for and you’d rather prefer quick access to your recent documents, for example, you can change the stack in the Dock to show those items accordingly.
Customizing the newly added stack is as easy as clicking on it and choosing an option. You don’t even need to run any commands this time to get the stack to show your chosen items in the list.
Find the newly added stack in the Dock, right-click on the stack, and choose any of the options shown at the top of the menu. These options include Recent Applications, Recent Documents, Recent Servers, Recent Volumes, and Recent Items.
Depending on what you choose, the stack will show your items accordingly.
You can play around with other options as well until it meets your needs.
Add Additional Custom Stacks To The Dock
If you need access to recent items that are of various types, one stack wouldn’t be sufficient for you. You’re going to need to add additional stacks each with its own file type to your Mac’s Dock.
The following is how you add it:
Fire up the Terminal app and run the following command in it.
defaults write com.apple.dock persistent-others -array-add '{ "tile-data" = {"list-type" = 1; }; "tile-type" = "recents-tile";}' && \killall Dock
When a new stack appears in the Dock, right-click on the stack and choose the file types you want it to show.
You can run the above command as many times as you want. It’ll add one stack each time. You can then customize what each of these stacks shows in the Dock of your Mac.
Add Custom Recent Items Stack To The Dock
If you’ve noticed, the default stack only lets you access certain recent file types. If you want more than that, there’s no option in the context menu to do it. However, that doesn’t mean you can’t add custom recent items to your Dock.
Mac has another useful feature called Smart Folders. These are actually saved searches that help you quickly find whatever files and file types you’re looking for on your Mac. Once you’ve created a Smart Folder, you can actually pin it to the Dock and access it from there.
This gives you more options and control as to what you can access from the Dock. Here’s how you do it:
Create a custom Smart Folder of your choice on your Mac. Maybe a folder that shows the recently opened PDF files on your Mac. Your screen should look something like the following.
Click on Save, enter a name for your Smart Folder, and save the folder on your desktop.
Once you see the folder on your desktop, drag and drop it onto the Dock. It’ll then sit there.
The Fan layout may not be suitable for PDF files. So right-click on the stack in the Dock and select Grid. It should look much better now.
Show More Recent Items In The Dock
By default, a stack will only show up to 10 recent items in a list. If you need more than that, you need to change a value on your Mac as shown below.
Click on the Apple logo at the top-left corner and select System Preferences.
Select General on the following screen. You’ll then find an option saying Recent Items. Use the dropdown menu next to the option to choose the number of items you want in the stack list.
You can show a maximum of 50 items in a stack pinned on the Dock.
Delete Recent Items Stack From The Dock
If you no longer need a recent items stack, you can have it removed by clicking on an option in the Dock.
Find the stack you want to remove, right-click on the stack, and select Remove from Dock.
The stack will no longer appear in your Dock.