發表文章

目前顯示的是 2016的文章

開機自動執行 Google Chrome App on Mac OS X

圖片
找到你電腦裡的 chrome app,在想開機自動啟動的 chrome app 上點右鍵選「Get Info」,路徑 eg. /Users/Ca/Applications/Chrome Apps/Google Keep - notes and lists.app 複製這一串亂碼英文 執行內建的應用程式 Automator ,選「Application」 拖曳 "Run Shell Script" 至右方視窗 在這對話框內輸入,以下是自動同時執行兩個 app 的例子: (/Applications/CaMacApps/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --profile-directory=Default -- app-id= afhcomalholahplbjhnmahkoekoijban ) & (/Applications/CaMacApps/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --profile-directory=Default -- app-id= anotherchromeappidnmahkoekoijban ) & PS. app-id 要換成剛剛複製的英文亂碼; Google Chrome.app 要指向你自己的位置路徑; 同步啟動 app 用 & 、要按照順序執行的話改為 && 。 存檔後,再到 System Preferences > Users & Groups > Login Items ,把剛剛存檔的 app 加進來後,開機時就會執行這個 app。 參考資料: Launching a Google Chrome App on system startup in Windows or OSX