I would like to be able to launch a file based on a filter that takes the subject and/or body and passes it as a parameter to a the file to be launched, i.e. a python script or shell script.
My ultimate goal is to send an item to the OmniFocus Inbox from Thunderbird. There is a rule that I can use for Mail.app that does this with applescript as well. I just would like to keep using TB. Is there a way to do this, or will there be in the future?
There has been a lot of interest in the ability to send parameters to the launch file action. I can also see that its use is limited without such parameters. So I will at least investigate how hard this is to do, and try to include something in the official release of FiltaQuilla. I will generally do a new release with each official release of the TB product. Since TB 3 beta2 is in its final stages, I guess that is pretty soon!
Looking briefly at the Mozilla documentation, it appears there is an nsIProcess interface and component that should be able to accomplish this. I'll play with that some, and see how it works. Probably what I need to do is to allow some replaceable parameters in the arguments sent to the program, maybe something like @SUBJECT@ @FROMNAME@ @FROMADDRESS@ etc.