RealRaven2000 / FiltaQuilla

Adds many new mail filter actions to Thunderbird
http://quickfilters.quickfolders.org/filtaquilla.html
GNU General Public License v3.0
88 stars 17 forks source link

Print Action does not work at all under Thunderbird Daily #239

Open desrod opened 11 months ago

desrod commented 11 months ago

I had high hopes I could use this to automatically print emails as they match a specific criteria (eg: my daily agenda from Google Calendar), but alas, it does not appear to support Thunderbird SuperNova at all. The configuration dialog for the add-on works (up to 4.0pre18), but those selections do not appear in the Message Filters criteria dropdowns at all.

Is there any plans to port this to work with the latest Thunderbird releases?

RealRaven2000 commented 11 months ago

How about this one? https://addons.thunderbird.net/en-US/thunderbird/addon/filtaquilla/versions/?page=1#version-4.0b2

(If you search from Thunderbird 102 it won't display this version; it's Firefox behavior. because it only lists the latest version that's compatible for the current App (102) and I had to break backwards compatibility, you won't see it if you search from 102.

RealRaven2000 commented 11 months ago

--- in case you want to test with the current beta (121.0b3) here is the latest one:

filtaquilla-4.0pre24.zip


To test the new version above, download the zip file, drag the file into Thunderbird Add-ons Manager, do not extract contents or if won't install.

desrod commented 11 months ago

I was able to install this after updating manifest.json to allow my 122.0a1 version of Thunderbird, and the configuration panel of the add-on does indeed have a print option, but it doesn't seem to put those configured options anywhere in the message filters. Or am I looking in the wrong place?

Screenshot 2023-11-30 at 5 04 43 PM

I still can't find any way to match a criteria and then print based on that criteria.

RealRaven2000 commented 11 months ago

hmm, why do you insist on using a daily / alpha version, isn't a beta recent enough? print integration can be confiogured to collaborate with the "PrintingTools NG" Add-ons maybe it has the options that you need?

What print options do you need specifically? Understand that it's not really FiltaQuilla's job to manage printing settings, but PrintingTools NG should be pretty flexible at that.

desrod commented 11 months ago

@RealRaven2000 Ideally, I want to match the subject of an incoming email that hits my Inbox at 5am every morning, and print it. Nothing magical there, just ship it off to the default printer when it arrives. I can't seem to find any tool, plugin or workflow that allows this.

The closest I think I might be able to manage, is to have the email saved to a local folder, and then have another out of band process monitoring that folder for new data, and any time a file lands in it, ship it off to the printer from there.

I did try PrintingTools NG, but it doesn't work at all with any of the current Thunderbird builds.

RealRaven2000 commented 11 months ago

Have you tried this?

Open FiltaQuilla settings and enable the "Print" action:

image

then create a new filter with the print action:

image

desrod commented 11 months ago

Ok, rolling back to 115.0a1 has a very different scope. Let me give this a shot and circle back to you. The API seems to have changed between 115 and 122.

Screenshot 2023-11-30 at 6 01 32 PM

RealRaven2000 commented 11 months ago

115.0a1 ?? that would probably be an outdated version (a = alpha if i recall correctly) the current Release version is much higher, it 115.5.1 or you can use the latest beta 122.0b2

I am using internal command functions for printing, not the API. The API also does not support adding new actions / search terms to filters, so this Add-on necessarily may stay experimental. But I can look into whether there is an API command for start9ng standard printing for future proofing...

RealRaven2000 commented 11 months ago

Ok, I did some testing in Thunderbird 121.0b6, found a bunch of other stuff that wasn't working, caused by removal of things like the method FileUtils.getFile and problems with importing jsm resources. Here is a test version that prints for me (default print method, make sure you tested your printer manually beforehand) from the current beta.

filtaquilla-4.0pre34.zip


to install the test version, download the zip file and then drag the file into Thunderbird Add-ons Manager (do not extract contents).

RealRaven2000 commented 8 months ago

Did you get anywhere with testing this? here is a version that is bumped to beta 124 compatibility (haven't tested it yet):

filtaquilla-4.0pre41.zip


to install the test version, download the zip file and then drag the file into Thunderbird Add-ons Manager (do not extract contents).