New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.4 - Hiding programs


Post Reply New Thread Subscribe

 
Thread Tools
maccsyd

 
Member Since: Oct 04, 2006
Location: Vancouver, BC
Posts: 26
maccsyd is on a distinguished road
Mac Specs: iMac 20" 2.16Ghz Intel Duo Core 2

maccsyd is offline
Hi All,
I have just taken the plunge into mac land so expect a lot of questions from me in the near future.
My first one is , is there a way of opening and hiding programs at the same time automatically on start up e.g. Mail and Itunes .

Thanks
QUOTE Thanks
puaerotch

 
puaerotch's Avatar
 
Member Since: Sep 21, 2005
Location: ohio
Posts: 809
puaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of light
Mac Specs: iBook G4 OSX Tiger

puaerotch is offline
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
Just copy it into an applescript, then add that to your login items
Attached Images
File Type: png login.png (61.7 KB, 18 views)
QUOTE Thanks
maccsyd

 
Member Since: Oct 04, 2006
Location: Vancouver, BC
Posts: 26
maccsyd is on a distinguished road
Mac Specs: iMac 20" 2.16Ghz Intel Duo Core 2

maccsyd is offline
I tried the above in applescript editor when I pressed run it came up with an error message and highlited "to close front window".
Its probably something I've done wrong my little brain is still in windows mode. :p
QUOTE Thanks
puaerotch

 
puaerotch's Avatar
 
Member Since: Sep 21, 2005
Location: ohio
Posts: 809
puaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of light
Mac Specs: iBook G4 OSX Tiger

puaerotch is offline
Quote:
Originally Posted by maccsyd
I tried the above in applescript editor when I pressed run it came up with an error message and highlited "to close front window".
Its probably something I've done wrong my little brain is still in windows mode. :p
Thats because the application is running but you have no windows open. It should work when you put it in your login items because the "activate" command will open the app with a window.

I don't know if I explained that well enough but if you want to test it, completely close the apps first. Then when you run it, it will open the apps and close the top window just like it will on login
QUOTE Thanks
surfwax95

 
surfwax95's Avatar
 
Member Since: Aug 27, 2005
Location: Fayetteville, AR
Posts: 2,406
surfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud of
Mac Specs: 15" Powerbook G4 24" iMac iPhone 3Gs

surfwax95 is offline
You could just open System Preferences, go to Accounts, click "Login Items", then click the + sign to add the application, then click the "Hide" button.

I try to Command+Shift+/ when I can.
They're - Their - There | Two - Too - To | You're - Your | MAC - Mac
I was on the M-F honor roll for October, 2006.
QUOTE Thanks
puaerotch

 
puaerotch's Avatar
 
Member Since: Sep 21, 2005
Location: ohio
Posts: 809
puaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of lightpuaerotch is a glorious beacon of light
Mac Specs: iBook G4 OSX Tiger

puaerotch is offline
Quote:
Originally Posted by surfwax95
You could just open System Preferences, go to Accounts, click "Login Items", then click the + sign to add the application, then click the "Hide" button.
I mentioned that, but when I did it that way, Mail wouldn't hide. I wanted it to hide so I had to write a script to do it for me. (Quicksilver had the same issue a while back here)
QUOTE Thanks
surfwax95

 
surfwax95's Avatar
 
Member Since: Aug 27, 2005
Location: Fayetteville, AR
Posts: 2,406
surfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud ofsurfwax95 has much to be proud of
Mac Specs: 15" Powerbook G4 24" iMac iPhone 3Gs

surfwax95 is offline
Ah, my bad, just saw the Applescript stuff.

I try to Command+Shift+/ when I can.
They're - Their - There | Two - Too - To | You're - Your | MAC - Mac
I was on the M-F honor roll for October, 2006.
QUOTE Thanks
maccsyd

 
Member Since: Oct 04, 2006
Location: Vancouver, BC
Posts: 26
maccsyd is on a distinguished road
Mac Specs: iMac 20" 2.16Ghz Intel Duo Core 2

maccsyd is offline
Thanks for the help I finally got it to work when I realised it wasn't saving it as an application file )
QUOTE Thanks

Post Reply New Thread Subscribe


« not enough free space for an archive and install!! | Stubborn folder will not trash & Network quirk! »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Uninstalling Programs Sloopy Switcher Hangout 13 02-10-2009 12:21 AM
Big programs not running. DCraver Apple Desktops 3 01-27-2006 10:22 PM
How to turn off sounds in classic 9 adobe programs?? nmr1279 Running Windows (or anything else) on your Mac 1 06-02-2005 11:47 AM
what's with the fuss about stealing mac programs through the ipod? emoglitterati iPod Hardware and Accessories 1 09-24-2004 05:26 PM
Question on windows programs on Macs MUMacUser Switcher Hangout 4 09-19-2004 09:25 PM

All times are GMT -4. The time now is 09:52 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?