Joho the Blog
An Entry from the Archives

« Brand Democrat || Back to Blog | Fingers crossed... »

November 22, 2004

Request for help: Thunderbird script

To help me fight comment spam, I really need to be able to programmatically open all selected messages in Thunderbird and process the contents. I had a script in Outlook that did this, but I can't find or figure out how to do it in Thunderbird. The hard part is opening the selected messages. Anyone have a code fragment or two that they can post or point me to?

Thanks!

Posted by D. Weinberger at November 22, 2004 02:10 PM


Comments

Do you have the outlook script? That might help figure out exactly what you are looking for.

Posted by: Ryan | November 22, 2004 03:09 PM


I'd blogged it lo these many years ago:

http://www.hyperorg.com/blogger/mtarchive/002669.html

Posted by: David Weinberger | November 22, 2004 03:24 PM


This is probably what you meant, but you are most likely going to need an extension here. Don't know if there is any kind of scripting like this within thunderbird since there is the whole extension system.

So you would have to change from VBA to Javascript, and of course the thunderbird API

Which I am not familiar enough with to help out

Posted by: Ryan | November 22, 2004 03:49 PM


I'm not worried about the VBA > JS transition since the string handling is minor. I need help figuring out how to get the script to read the selected msgs in the first place.

Posted by: David Weinberger | November 22, 2004 04:28 PM


You could directly submit a feature request here:

http://forums.mozillazine.org/viewforum.php?f=30&sid=e4a379b71565ae750bdea432f4b3f90b

Posted by: Greg | November 22, 2004 04:44 PM


hm can't you just send enter as key with sendkey or so?

Posted by: Nicole Simon | November 22, 2004 10:03 PM


Post a comment

Guidelines for Commenting

Basically, you can say what you want. (Click here for the fine print.)

If you haven't left a comment here before, your comment may be put into a queue for me to approve. Sorry for the delay. Blame the damn spammers.