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 - Development and Darwin Discussion and questions about development for Mac OS X.

applescript to bring ichat window to front after message received

Post Reply New Thread Subscribe

Thread Tools

Member Since: Feb 03, 2010
Posts: 1
plymouth is on a distinguished road

plymouth is offline
I've searched for something like this but haven't found it. I am aware of chax, but would prefer to just run a simple applescript to bring the chat window to the front if a new message is received. I have tried running the following when a message is received:

tell application "iChat"
end tell

...but get a 1708 error.

Any ideas?

QUOTE Thanks
Collin Bl

Collin Bl's Avatar
Member Since: Apr 07, 2009
Location: Napier NZ
Posts: 3,291
Collin Bl is a jewel in the roughCollin Bl is a jewel in the roughCollin Bl is a jewel in the rough
Mac Specs: 27 iMac i5, MBP 13 & iMac 20, 2TB dual TC, AppleTV, iPh4S

Collin Bl is offline
Welcome to the Forum. Chax does flash icon in doc with Sender image when IM received but even it you did get the script sorted for making the IM window the front window would that work if u were in another App? Seems to me that would have to be a System Script not an iChat script. The standard iChat > Preferences does provide this;

Click for full size

PM me if u want an iChat Script to change around and test.
QUOTE Thanks

Member Since: Oct 25, 2009
Posts: 59
Babkockdood is on a distinguished road

Babkockdood is offline
Well, when you tell an application something, you indent.
tell application "iChat"
end tell
And "activate" just tells iChat to open. Have you tried Growl with Chax? Growl displays the message in a little notification window.

Download Chax
Download Growl

But anyway, go to File > Open Dictionary... and select iChat (will post screenshots later, I'm away from my Mac now). That will give you some help with iChat AppleScript commands.
QUOTE Thanks

Post Reply New Thread Subscribe

« Has to be an easier way to deal with Time in Objective C | Reading ID3 tags from an audio file. »
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 Starter
Last Post
iChat away message question gmjsg OS X - Apps and Games 7 05-02-2007 11:03 AM
Adding notes to an Entourage received message?? kcoates55 Running Windows (or anything else) on your Mac 0 03-02-2006 05:47 PM
iChat: viewing an away message / autoreply timswim78 OS X - Apps and Games 4 02-15-2006 07:43 PM
ichat not responding message HELP...please jphd90 Archival Forum 0 06-26-2005 05:32 AM
How to view away message with ichat. section8joe Switcher Hangout 9 05-16-2005 11:45 PM

All times are GMT -4. The time now is 06:02 AM.

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

Welcome to

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?