iTranslated by AI
Adding Various Items to the macOS Dock
Shortcuts to the Web


Objects represented as URLs can be grabbed and placed directly on the right side of the Dock. Clicking them opens that website in your default browser.
Shortcuts to Network Devices, AirPort, and Windows (SMB) Connections


For network devices that appear in Finder's "Network" window, you can grab the icon directly and drop it on the right side of the Dock to place it there.
Shortcuts to AirDrop and iCloud Drive

AirDrop and iCloud Drive are stored deep within Finder.app in the form of applications, so you can create shortcuts for them by placing them on the left side of the Dock. (Since they are in application bundle format, they cannot be placed on the right side of the Dock.)
Clicking these in the Dock allows you to directly open the AirDrop window or the iCloud Drive window in Finder, which can be useful if you use these features frequently.
/System/Library/CoreServices/Finder.app/Contents/Applications/AirDrop.app
/System/Library/CoreServices/Finder.app/Contents/Applications/iCloud Drive.app

For some reason, there are two "Recents" items, but since clicking either has the same effect, the difference is unclear.
Similarly, you can also place "Computer" or "Network" on the left side of the Dock.
Regarding shortcuts to recent items, the method introduced next is recommended over this one for better usability.
Shortcuts to Recent Items


First, open the "Recents" window in Finder, then grab either the sidebar item or the icon in the title bar (Proxy Icon) and drop it directly onto the right side of the Dock.
If you set the display format on the Dock to "Folder," it will look like a drawer. Clicking it expands it in Fan, Grid, or List view, just like a regular folder.
Shortcuts to Tags


Colored tags (labels) used in Finder searches can also be placed on the right side of the Dock. Grab any tag from the Finder window sidebar and drop it onto the right side of the Dock.
After performing this operation, the tag is stored as a saved search criterion in the following directory. In a Japanese environment, it should be localized and displayed as "保存済みの検索条件".
~/Library/Saved Searches/
Next, show hidden files. You can toggle the visibility of hidden files in Finder using the shift command . keyboard shortcut.

It seems that removing suffixes like .tag6 is not an issue.
By showing hidden files, the .DockTags folder becomes visible. Opening its contents reveals files like hoge.tag6.savedSearch. These appear to be the true identity of the tags launched from the Dock.
Shortcuts to "Shared" in iCloud Drive


If you share with other users on iCloud Drive, a "Shared" item automatically appears in the Finder sidebar. Like tags, you can grab this directly and place it on the right side of the Dock.
This "Shared" item, like AirDrop, can be found as a predefined search file by digging into the Finder.app package. You can also place it by dropping this file directly onto the right side of the Dock.
/System/Library/CoreServices/Finder.app/Contents/Resources/MyLibraries/SharedDocuments.cannedSearch

Spacers (Margins)

You can place spacers between icons. There are two types of spacers: full-size and half-size. Using an application like TinkerTool is easy, but it is also possible via the command line.
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="spacer-tile";}'; killall Dock
defaults write com.apple.dock persistent-apps -array-add '{"tile-type"="small-spacer-tile";}'; killall Dock
To add them to the right side, please replace the following parts:
persistent-apps … Left side/Apps
persistent-others … Right side/Others
Discussion