实现 Mac 右击文件夹打开 VSCode 佐斌 2025-06-06 16 阅读1分钟 Mac 利用 automation(自动操作) 创建自动化脚本,实现右击打开 VSCode step 1 step 2 新建文稿-选择【快速操作】 step 3 step 4 > > 关键在这里 for f in "$@" do open -a "Visual Studio Code" "$f" done 同理,你也可以创建其他功能的脚本 冲冲冲🤘🏻🤘🏻🤘🏻