The script will now run every time you log into your account. Optionally check the Hide box next to it in the list to keep it hidden during login. Find your script, select it, and click Add. Go to the Login Items tab and click + to add a new item. Go to System Preferences > Users & Groups. Change the setting for When the shell exits: to Close if the shell exited cleanly. Then click on the Settings button and go to the Shell tab. Open Terminal.app and select Preferences from the Terminal menu. You will want to change this behavior, or you'll always be left with an open but unusable Terminal window after login. The Library folder should be unhidden if it was hidden before.īy default "Terminal.app" will leave its window open even after the command shell exits. It should briefly open a Terminal window and run the command. You can test the script by double-clicking on it in the Finder. Open Terminal.app and go into the folder you saved your script to.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |