Results 1 to 3 of 3
  1. #1

    Member Since
    Feb 03, 2010
    applescript to bring ichat window to front after message received
    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?


  2. #2

    Collin Bl's Avatar
    Member Since
    Apr 07, 2009
    Napier NZ
    27 iMac i5, MBP 13 & iMac 20, 2TB dual TC, AppleTV, iPh4S
    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.

  3. #3

    Member Since
    Oct 25, 2009
    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. bring window to front of all other windows
    By ahmedshaaban in forum OS X - Apps and Games
    Replies: 14
    Last Post: 09-19-2014, 01:00 AM
  2. Bring X11 opened window to front
    By mairan in forum OS X - Operating System
    Replies: 0
    Last Post: 08-13-2010, 05:40 AM
  3. Microsoft Messenger for mac [message may not have been received]
    By mirridon in forum OS X - Apps and Games
    Replies: 3
    Last Post: 01-02-2009, 10:29 AM
  4. WINDOW "Bring All to Front"
    By glynn in forum OS X - Operating System
    Replies: 1
    Last Post: 05-03-2008, 07:51 PM
  5. Adding notes to an Entourage received message??
    By kcoates55 in forum Running Windows (or anything else) on your Mac
    Replies: 0
    Last Post: 03-02-2006, 06:47 PM

Posting Permissions

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