Table of Contents
在 Finder 中对文件夹/文件加入 使用 VSCode 打开
Getting Started
- Open
Automator - Press
⌘+Nto create a newQuick Action - Receives current
files or foldersinFinder.app dragUtilities->Run shell Scriptto 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
Modify
- Open
System Preferences. - Select
Keyboard - in
Shortcuts - Find your
action - Right click
actionto modify withAutomator