Every time I boot up my Mac I wanted iTunes loaded so all my iDevices could sync, as well as having my movie and music library accessible from my AppleTVs. One annoyance with this is that you cannot hide the iTunes window when it comes up. Every time I booted my computer I had to manually close the iTunes window.
To remedy this, I created a two-line AppleScript application called “Launch iTunes & Close Window”
The source code is:
tell application "iTunes" to launch
tell application "iTunes" to close window "iTunes"
- Download and open the Apple disk image.
- Drag the Application from the disk image into your “Applications” or “Utilities” folder.
- Open System Preferences, User Accounts
- Choose the logon account you wish to add the app to.
- Click the “Login Items” tab
- Drag the “Launch iTunes & Close Window” application into the login items pane.