- Launch Automator
- Select "Create New Document"
- Select "Quick Action": Choose
- Add "Run Shell Script" to the workflow (drag and drop)
- In the pass input dropdown, select "as arguments"
- Paste
open -n -b "com.microsoft.VSCode" --args "$*"
into the input box - Save the workflow, and call it something useful like "Open In Visual Studio Code"
- You should now be able to right click in Finder > Quick Actions > Open in VSCode
Last active
March 4, 2022 20:16
-
-
Save kr1st1nagr03g3r/2e63d2c95ed20e4f3c57e72a507abd19 to your computer and use it in GitHub Desktop.
Mac Automator Workflow for Opening Files in Finder automatically to VSCode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment