Adium Applescript Question

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Post Reply
ceptorial
Harmless
Posts: 2
Joined: Mon Oct 02, 2006 12:46 pm

Adium Applescript Question

Post by ceptorial »

Hello there,

I would like to have an Applescript (or another method) where, if I run it, it will stop the dock icon from flashing the names of people who have sent me messages. I have my messages come in through Growl so a lot of times (but not always) I just want to stop the dock icon from flashing. The simplest way to do this from my perspective is to activate the application then Command+Tab back, but I'm wondering if there's a cleaner way to do this through Applescript (such as just tell the application to stop flashing). Any thoughts? Thanks.
m2e
Mocha
Posts: 584
Joined: Mon Oct 24, 2005 2:43 am
Location: Melbourne, Australia
Contact:

Post by m2e »

You can stop the name flashing altogether in the Events Preferences but I'm not sure how to stop it at a specific time.
ceptorial
Harmless
Posts: 2
Joined: Mon Oct 02, 2006 12:46 pm

Post by ceptorial »

Ya I definitely want it in general, I'd just like to be able to stop it at certain times when it's flashing with a command key, which I would set to run an Applescript through a quicksilver trigger.
m2e
Mocha
Posts: 584
Joined: Mon Oct 24, 2005 2:43 am
Location: Melbourne, Australia
Contact:

Post by m2e »

ceptorial wrote:Ya I definitely want it in general, I'd just like to be able to stop it at certain times when it's flashing with a command key, which I would set to run an Applescript through a quicksilver trigger.
I'm not the best at applescript but a simple one would be

Code: Select all

tell application Adium
activate
hide
end tell
User avatar
zaudragon
Growl Team
Posts: 1852
Joined: Sat Dec 04, 2004 5:05 am
Location: Kensington, CA, USA
Contact:

Post by zaudragon »

m2e wrote:
ceptorial wrote:Ya I definitely want it in general, I'd just like to be able to stop it at certain times when it's flashing with a command key, which I would set to run an Applescript through a quicksilver trigger.
I'm not the best at applescript but a simple one would be

Code: Select all

tell application Adium
activate
hide
end tell
No, it should be:

Code: Select all

tell application "Adium"
activate
hide
end tell
I know, you just need quotation marks, but that makes all the difference.
Blog | X(tras)
Communists code without classes.
m2e
Mocha
Posts: 584
Joined: Mon Oct 24, 2005 2:43 am
Location: Melbourne, Australia
Contact:

Post by m2e »

Oh yeah whoops :D
Post Reply