Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sec12tst8r84

macrumors newbie
Original poster
May 4, 2008
2
0
I am new to AppleScript. I would like to create a Growl notification for any incoming messages from MSN Messenger. Is there a way to determine that a new message has been received using AppleScript and then having Growl display the message? I am basically looking for the same way Growl treats Adium but for MSN Messenger.

Any help would be greatly appreciated. Thank you.
 

CaptainZap

macrumors regular
Jan 17, 2007
170
0
I don't know how to do this, but I'm just curious as to why you are using MSN Messenger instead of Adium.
 

italiano40

macrumors 65816
Oct 7, 2007
1,080
0
NY
Code:
tell application "GrowlHelperApp"
set the allNotificationsList to {"Incoming"}
notify with name "Incoming" title "Incoming Message from MSN" description "A incoming message is coming from MSN" application name "Growl notifier" 
end tell

this will tell growl to show a notifier
you can use things from MSN but it would take a long time
 

sec12tst8r84

macrumors newbie
Original poster
May 4, 2008
2
0
Thank you. I know how to set up a Growl notification using AppleScript. I am lost as to how to trigger that notification (in other words watch for an incoming message).

I'm using MSN Messenger instead of Adium mainly because of some bugs in Adium as well as some missing functionality.
 

italiano40

macrumors 65816
Oct 7, 2007
1,080
0
NY
to use applescript with MSN messager is that you need to use the focus element in apple script and i would use do this but i don't use msn messager and i don't want to install it
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.