
我想讓我的 USB 隨身碟在插入時自動運行其中的檔案。
答案1
您可以在 /Volumes/ 資料夾上使用 Automator 和資料夾操作。
只需開啟 Automator,新增新的資料夾操作,然後按一下選擇資料夾。當彈出視窗出現時,按 Command-Shift-g 並輸入 /Volumes/。現在只需建立一個工作流程應用程序,每當安裝設備時都會觸發該應用程式。
我想讓我的 USB 隨身碟在插入時自動運行其中的檔案。
您可以在 /Volumes/ 資料夾上使用 Automator 和資料夾操作。
只需開啟 Automator,新增新的資料夾操作,然後按一下選擇資料夾。當彈出視窗出現時,按 Command-Shift-g 並輸入 /Volumes/。現在只需建立一個工作流程應用程序,每當安裝設備時都會觸發該應用程式。