Applescript to mute Adium

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
Posts: 97
Joined: Sun Dec 05, 2004 2:54 am
Location: NJ

Applescript to mute Adium

Postby Sean » Wed Mar 15, 2006 4:42 am

Can Adium be muted via applescript?

I am trying to make an applescript to quickly mute Adium and stop Growl without having to go to the preferences of each of them.

I am new to applescript, I looked in the dictionary of Script Editor but didn't see anything to do with audio. I found out how to do the Growl part, all that's left is being able to mute Adium.

Posts: 30
Joined: Wed Jul 06, 2005 3:21 pm

Postby bleaus » Wed Mar 15, 2006 5:05 am

I found one that mutes when you're in away mode:

If that's what your looking for. If not, what are you trying to mute it for?

Posts: 97
Joined: Sun Dec 05, 2004 2:54 am
Location: NJ

Postby Sean » Wed Mar 15, 2006 5:19 am

That script mutes the system volume though. I just want to mute Adiums volume like you can in the general preferences.

The use I had in mind was for when I want to show someone something on my Mac (an article, video, etc) but don't want a bunch of message windows/notifications/sounds popping up.

Right now I have to go to both the Growl preferences and the Adium preferences to disable them, I wanted to just have an applescript I click on to automate that process for me.

This is what I have so far - it quits growl and hides Adium, now I just need the mute part if that's possible:

Code: Select all

tell application "GrowlHelperApp" to quit

tell application "System Events" to set visible of process "Adium" to false

User avatar
Posts: 163
Joined: Sat May 28, 2005 8:44 am
Location: Sweden, Göteborg

Postby memark » Wed Mar 15, 2006 10:41 am

You could create an events preset without the sounds, and then try the script in this thread: ... 5369#55369
Magnus Erik Markling

Return to “Adium”

Who is online

Users browsing this forum: No registered users