Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Hiding programs
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="puaerotch" data-source="post: 263561" data-attributes="member: 12976"><p>In System Preferences, under Accounts, you can choose Login Items that will load when your computer starts up. It also has the option to Hide it. When I put mail in my login items and selected hide, it didn't. So I wrote an applescript that will open it and close the top window and put that in my login items instead. I don't see why it wouldn't work for iTunes too. Here's the code:</p><p>[CODE]tell application "Mail" to activate</p><p>tell application "Mail" to close the front window</p><p></p><p>tell application "iTunes" to activate</p><p>tell application "iTunes" to close the front window[/CODE] </p><p></p><p>Just copy it into an applescript, then add that to your login items</p><p></p><p>[ATTACH=full]4161[/ATTACH]</p></blockquote><p></p>
[QUOTE="puaerotch, post: 263561, member: 12976"] In System Preferences, under Accounts, you can choose Login Items that will load when your computer starts up. It also has the option to Hide it. When I put mail in my login items and selected hide, it didn't. So I wrote an applescript that will open it and close the top window and put that in my login items instead. I don't see why it wouldn't work for iTunes too. Here's the code: [CODE]tell application "Mail" to activate tell application "Mail" to close the front window tell application "iTunes" to activate tell application "iTunes" to close the front window[/CODE] Just copy it into an applescript, then add that to your login items [ATTACH=full]4161[/ATTACH] [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Hiding programs
Top