AlfredWorkflow-Recent-Documents
AlfredWorkflow-Recent-Documents copied to clipboard
Quickly open recent documents and apps / 快捷打开最近访问的文档或应用
Recent Documents / Apps
Quickly access recent documents and apps.
中文说明 • Download • How To Use • Configuration
How to Use
You can press Enter
to open the file in result, or press ⌘CMD-Enter
to reveal it in Finder.
Tap rr
to list files opened recently by the foremost app.
For example:
- Recent folders will be listed when Finder is foremost.
- Recent rtf, text files will be listed when TextEdit app is foremost.
- Recent *.sketch files will be listed when Sketch app is foremost.
- Recent *.xcodeproj project files will be listed when Xcode app is foremost.
The subtitle of each result consists of ⏱modified time and 📡path of the file.
Tap rf
to list recent folders.
Opening recent folders is very common in use. Tapping rf
is a more efficient way, even though you can activate Finder and then tap rr
.
Tap rd
to list recent files.
These files were recently opened by user, not like rr
which is just for the foremost app.
Tap ra
to list apps opened recently.
Configuration
Exclude files and folders from the results.
You can add private folder paths separated by colon :
to the workflow environment variable ExcludedFolders
. The results will not show private folders and any files inside them. The environment variable ExcludedFiles
is used to block files and folders themselves.
For example: ~/privateFolder1/:/Users/G/privateFolder2/
Optional Setup
- Adjust keywords
rr、rf、rd、ra
as you like. - Open
System Preferences - General
, change the number ofRecent items
to 15 or more.
Donation
Feel free to donate by Wechat if this workflow is helpful.
Dependencies:
- macMRU-Parser: https://github.com/mac4n6/macMRU-Parser
- ccl_bplist.py: https://github.com/cclgroupltd/ccl-bplist
- mac_alias: https://pypi.python.org/pypi/mac_alias