title | toc |
---|---|
在 Finder 中对文件夹/文件加入 `使用 VSCode 打开` |
true |
Table of Contents
- Open
Automator
- Press
⌘
+N
to create a newQuick Action
- Receives current
files or folders
inFinder.app
drag
Utilities
->Run shell Script
to right action area- Pass input:
as arguments
- Write the script
- Save your
action
Scrip is down below:
for f in "$@"
do
open -a "Visual Studio Code" "$f"
done
- Open
System Preferences
. - Select
Keyboard
- in
Shortcuts
- Find your
action
- Right click
action
to modify withAutomator