Results 1 to 8 of 8

Thread: Hiding programs

  1. #1


    Member Since
    Oct 04, 2006
    Location
    Vancouver, BC
    Posts
    26
    Specs:
    iMac 20" 2.16Ghz Intel Duo Core 2
    Hiding programs
    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

  2. #2

    puaerotch's Avatar
    Member Since
    Sep 21, 2005
    Location
    ohio
    Posts
    809
    Specs:
    iBook G4 OSX Tiger
    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 Attached Images

  3. #3


    Member Since
    Oct 04, 2006
    Location
    Vancouver, BC
    Posts
    26
    Specs:
    iMac 20" 2.16Ghz Intel Duo Core 2
    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

  4. #4

    puaerotch's Avatar
    Member Since
    Sep 21, 2005
    Location
    ohio
    Posts
    809
    Specs:
    iBook G4 OSX Tiger
    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

  5. #5

    surfwax95's Avatar
    Member Since
    Aug 27, 2005
    Location
    Fayetteville, AR
    Posts
    2,406
    Specs:
    15" Powerbook G4 24" iMac iPhone 3Gs
    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.

  6. #6

    puaerotch's Avatar
    Member Since
    Sep 21, 2005
    Location
    ohio
    Posts
    809
    Specs:
    iBook G4 OSX Tiger
    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)

  7. #7

    surfwax95's Avatar
    Member Since
    Aug 27, 2005
    Location
    Fayetteville, AR
    Posts
    2,406
    Specs:
    15" Powerbook G4 24" iMac iPhone 3Gs
    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.

  8. #8


    Member Since
    Oct 04, 2006
    Location
    Vancouver, BC
    Posts
    26
    Specs:
    iMac 20" 2.16Ghz Intel Duo Core 2
    Thanks for the help I finally got it to work when I realised it wasn't saving it as an application file )

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Hiding Programs To Other Users
    By SJJ in forum Switcher Hangout
    Replies: 4
    Last Post: 08-15-2012, 01:07 PM
  2. hiding open programs in the dock
    By merc4ulfate in forum Switcher Hangout
    Replies: 5
    Last Post: 02-15-2008, 01:52 AM
  3. Hiding Programs with Keystroke
    By strootle in forum OS X - Apps and Games
    Replies: 1
    Last Post: 01-04-2008, 12:58 PM
  4. Hiding Menu Bar/Hiding spotlight icon
    By AnthonyJK in forum OS X - Apps and Games
    Replies: 2
    Last Post: 03-26-2007, 04:49 AM
  5. Hiding Genres
    By CouesFanatic in forum iPod Hardware and Accessories
    Replies: 3
    Last Post: 11-22-2006, 02:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •