There is one feature I'm really missing in The Bat! — ie, the possibility of using macros to run an external process that returns some text to be inserted into the email contents.
With my previous client (Outlook Express, on XP) I would use that feature to include in my email template some random generated contents, using various apps. With Outlook Exp it required actually opening the whole email template via http, through localhost AppServ serving dynamic HTML pages (email template) disguised as HTML files (via .htaccess).
What I would like to achieve with The Bat! is a macro that instead of importing a text file can invoke an external binary file (with parameters and working folder, possibly) and then capture its STDOUT into the email — ie, in the macro's place. Maybe this macro should allow an optional parameter to specify enconding.
Currently there is only the cookies function, but I would like to use some more sofisticate applications to generate random text:
... or applications like cowsay, etc.
Is there a way to currently achieve this with TB? Some macro I might have overlooked?
If not ... I would like to make a feature request for this.
I realize that there might be security concerns regarding this feature, so it might be disabled by default in TB Settings.
I had thought of creating this via custom plugins, but from a quick look at the Plugins documentation it didn't look like something that could be implemented in a friendly manner, like a macro would be. Definitely, a macro would be much friendlier for using this feature.
I was wondering, can users extend TB macros? is there a way to implement custom macros, via plugins or other means?
With my previous client (Outlook Express, on XP) I would use that feature to include in my email template some random generated contents, using various apps. With Outlook Exp it required actually opening the whole email template via http, through localhost AppServ serving dynamic HTML pages (email template) disguised as HTML files (via .htaccess).
What I would like to achieve with The Bat! is a macro that instead of importing a text file can invoke an external binary file (with parameters and working folder, possibly) and then capture its STDOUT into the email — ie, in the macro's place. Maybe this macro should allow an optional parameter to specify enconding.
Currently there is only the cookies function, but I would like to use some more sofisticate applications to generate random text:
... or applications like cowsay, etc.
Is there a way to currently achieve this with TB? Some macro I might have overlooked?
If not ... I would like to make a feature request for this.
I realize that there might be security concerns regarding this feature, so it might be disabled by default in TB Settings.
I had thought of creating this via custom plugins, but from a quick look at the Plugins documentation it didn't look like something that could be implemented in a friendly manner, like a macro would be. Definitely, a macro would be much friendlier for using this feature.
I was wondering, can users extend TB macros? is there a way to implement custom macros, via plugins or other means?