Go Back   The macosxhints Forums > OS X Help Requests > Applications



Reply
 
Thread Tools Rate Thread Display Modes
Old 07-26-2010, 03:25 AM   #1
jacktabby
Prospect
 
Join Date: May 2010
Posts: 14
Hide Microsoft Messenger on Startup

Hi all,
I have just downloaded Microsoft Messenger 7.0.2 for mac, and found that when I set it as a login item it doesn't hide. Is there an applescript or something I can use to fix this?

I tried:
Code:
tell application "Finder"
set the visible of process "Microsoft Messenger" to false
end tell
But the code doesn't work for MSN.

Thank you for your time.

P.S. Wasn't sure if this went in applescripts or not, but because applescript is a suggestion, I thought not.
jacktabby is offline   Reply With Quote
Old 07-26-2010, 04:13 AM   #2
benwiggy
League Commissioner
 
Join Date: Aug 2006
Posts: 5,040
Is there any reason that you need MS Messenger, rather than Apple's iChat?

Two things about your AS:
I'm not sure that telling the Finder is correct.
Secondly, check that the name of MS Messenger for AppleScript is actually what you have used.
benwiggy is offline   Reply With Quote
Old 07-26-2010, 04:26 AM   #3
jacktabby
Prospect
 
Join Date: May 2010
Posts: 14
I use MSN Messenger because friends don't use a mac.

System Events does the same, and I'm giving the right name.
jacktabby is offline   Reply With Quote
Old 07-26-2010, 04:41 AM   #4
jacktabby
Prospect
 
Join Date: May 2010
Posts: 14
I now have a script that launches MSN Messenger and hides it. The only problem is it doesn't automatically log in, anyway to fix this?

Here is the code:
Code:
tell application "MSN Messenger" to launch

tell application "System Events" to set vis to the visible of process "Microsoft Messenger"

repeat until vis is false
	tell application "System Events"
		set visible of process "Microsoft Messenger" to false
		set vis to the visible of process "Microsoft Messenger"
	end tell
end repeat
Thank you.

Edit: I tried MSN 8 Beta and it automatically logs in?

Last edited by jacktabby; 07-26-2010 at 05:49 AM.
jacktabby is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Forum Jump



All times are GMT -5. The time now is 02:32 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.