User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:18.104.22.168) Gecko/20101026 Firefox/3.6.12 ( ) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv:22.214.171.124pre) Gecko/20101104 Lightning/1.0b2.103i Thunderbird/3.1.6pre I'm working on an extension to automatically export the personal calendar as an ics file from code. I am aware of the autoexport addon (https://addons.mozilla.org/en-us/thunderbird/addon/3740/), but this addon is outdated (it has some flaws on TB3) and it uses several streams/listeners to get the job done. There is a direct way to export using a rightclick action on ones Personal calendar and choosing "Export calendar..." in the contextmenu. It would be a lot more robust if one could call this function directly from code. I've been looking some in thunderbird's source code and noticed this code in calendar-common-sets.js: case "calendar_export_command": exportEntireCalendar(); break; I'm guessing exportEntireCalendar(); would be the function I'm looking for, but it doesn't seem to be accessible however. Is there a way to access this function from code anyway, or could this function be made public? Thanks. Reproducible: Always
Method content can be found here: http://mxr.mozilla.org/comm-central/ident?i=exportEntireCalendar
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.