Forum

 
Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Launch Files with Parameters

Add a New Topic Reply to Post
UserPost

11:52 am
February 14, 2009


RobertG

Guest

Hi,

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?

Thanks,

Robert

12:29 pm
February 14, 2009


rkent

Admin

posts 140

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.

9:52 pm
February 17, 2009


RobertG

Guest

Ok, great!  I look forward to the release.   BTW, where do I go to find out the release schedule for TB 3.0 beta's?  Thanks again!

1:48 am
February 18, 2009


rkent

Admin

posts 140

You can see the Thunderbird beta2 schedule here:

https://wiki.mozilla.org/Thunderbird:Thunderbird_3.0b2

Reply to Post

Reply to Topic:
Launch Files with Parameters

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
6 + 2