[Adium-devl] A plugin to contol Adium via emails

Aleksandr Vinokurov aleksandr.vin at gmail.com
Thu May 15 22:43:27 UTC 2008



Hello all,

It's OK with SHOW ALL CONTACTS & SEND MESG TO CONTACT XXX commands --  
strict AppleScript as U say...

But I'm stuck with getting a reply IM from a contact in Adium with  
AppleScript... Seems that there is no way for now.

And I have an idea of adding elements sentences to the Adium's  
AppleScript class chat. Say sentences will contain all conversation  
messages currently displayed in the chat. And their order will be  
ascended or descended. Each sentence class may have properties like:  
id, account, date sent, index, window, chat window, message and file.

How many human-hours it may take to implement it in Adium's  
AppleScript support?

With best regards,
Aleksandr Vinokurov.


On 14.05.2008, at 16:48, Matt Handley wrote:

> I think this can be accomplished using strict AppleScript.
>
> Say I'm using Mail. First, I would set up a rule that checks for a  
> subject line, say, ADIUM COMMAND. Then, I would set it to run some  
> applescript.
>
> That applescript would need to parse through every relatively new  
> message, looking for ADIUM COMMANDS. It could easily send messages  
> to particular contacts for you, though the other two examples you  
> mention are not as simple to implement.
>
> Once the necessary data is acquired, it could use Mail to send a  
> message back to the original sender, just as you specified.
>
> Matt
>
> On May 14, 2008, at 3:01 AM, Aleksandr Vinokurov wrote:
>
>>
>>
>> Greetings to all!
>>
>> My present work place restricts the usage of basic IM client to  
>> communicate
>> with my contacts and leave only email. I have my home Mac turned  
>> all day on
>> and I use Adium on it. I realized that if I could tie Adium and  
>> Mail on my
>> home Mac I will get an ability to send & receive IM messages with  
>> my home
>> Adium via my office email client! And also it will be a nice try  
>> to study
>> obj-c :)
>>
>> I think this plugin will poll the Mail's mailbox for specially  
>> crafted
>> emails (may be signed) and perform operations based on the  
>> commands in them.
>>
>> Commands-list will be smth. like:
>> 	SHOW [ALL|ONLINE|OFFLINE] CONTACTS
>> 	SEND MESG TO CONTACT XXX
>> 	GET HISTORY FOR CONTACT XXXX [FOR YYYY DAYS]
>>
>> When Adium receives a message from contact the plugin will send a  
>> backed
>> email with message throgh Mail's interface.
>>
>> So the question to you guys: does Adium already have such a plugin?
>>
>> With best regards,
>> Aleksandr.
>>
>>
>>
>> _______________________________________________
>> Adium-devl mailing list
>> Adium-devl at adiumx.com
>> http://adiumx.com/mailman/listinfo/adium-devl_adiumx.com
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080516/ef35df59/attachment-0001.html>


More information about the devel mailing list