Close active chat in onSubstitute

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
dukat
Harmless
Posts: 1
Joined: Fri Mar 01, 2013 9:15 am

Close active chat in onSubstitute

Postby dukat » Fri Mar 01, 2013 9:27 am

Hello,
i've the following question.
I want use the Xtra Extension to close the active ChatWindow on type /wc.
Now i've the script with the following conten:

Code: Select all

on substitute()   
   tell application "Adium" to close active chat
end substitute


I catches the /wc, but i won't close the chat tab.
Perhaps it is not possible to close the current and active Chat in the onSubstitute methode?
Is there any work around for that?

Return to “Adium”

Who is online

Users browsing this forum: No registered users