Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X > Mac OS X 10.7 Lion

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 23, 2012, 05:29 PM   #1
devburke
Guest
 
Join Date: Oct 2008
How do I tell AppleScript which Messages chat is active?

I'm trying to mess with Growl scripts for Messages. All the ones I've found don't work with preventing messages when the chat in question is the currently selected chat. Can anyone help me figure out how to do that?

Also, if somebody knows how to make the buddy list auto-adjust its height like it used to with Chax pre-Lion, that would be awesome

Thanks!
devburke is offline   0 Reply With Quote
Old Feb 25, 2012, 06:27 PM   #2
Paradoxally
macrumors 6502
 
Join Date: Feb 2011
In Applescript

Code:
tell application "System Events"
		if (name of the first process whose frontmost is true) is not "iChat" then
			--enter your code to invoke growl stuff here
		end if
end tell
Paradoxally is offline   1 Reply With Quote
Old Feb 27, 2012, 10:14 PM   #3
devburke
Thread Starter
Guest
 
Join Date: Oct 2008
Thanks! But is there away to have it go by specific chat, just application? I'd still like to see notifications for the chats that aren't selected. Maybe this just isn't possible though.
devburke is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X > Mac OS X 10.7 Lion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Similar Threads
thread Thread Starter Forum Replies Last Post
How Do I Tell Siri Who My Wife Is? Stangs55 iPhone 14 Oct 14, 2011 04:32 PM
How do I find out which service/program is accessing my NAS? Renderz OS X 3 Aug 29, 2010 12:37 PM
How do you tell if your iPhone 3GS is still under warranty? Imola Ghost iPhone 5 Jun 20, 2010 01:19 AM
How do I tell it which image I want to go on top of other images? MrPenguin9 iPhone/iPad Programming 6 Jul 16, 2009 11:21 PM
how do I tell which mbp lcd maker? thumb MacBook Pro 8 Jun 21, 2007 11:14 PM


All times are GMT -5. The time now is 09:46 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC