Page 1 of 1

Adium Applescript Question

Posted: Mon Oct 02, 2006 12:51 pm
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.

Posted: Mon Oct 02, 2006 1:05 pm
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.

Posted: Mon Oct 02, 2006 1:08 pm
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.

Posted: Mon Oct 02, 2006 2:36 pm
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

Posted: Thu Oct 05, 2006 9:28 pm
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.

Posted: Fri Oct 06, 2006 3:14 am
by m2e
Oh yeah whoops :D