I need to update the messenger's status when there is a calender event is happening in Thunderbird. Is it possible to hook the existing alarm?
how to let thunderbird calender event trigger a shell script?
749 Views Asked by user1532146 At
1
There are 1 best solutions below
Related Questions in THUNDERBIRD
- How do I separate emails (from 1 alias) in Thunderbird from invasive websites on Firefox with file browsing scripts? Should I worry?
- Thunderbird Importing Emails imports 0 emails
- Thunderbird: Get Subject dynamically in HTML Signature
- thunderbird local archive folder missing
- New Thunderbird Plugin: Custom Menu in Message Display Toolbar
- Thunderbird: messenger.messages.listAttachments returns empty array when using pgp
- How to create a secure module policy in SElinux
- Thunderbird/gmail : How to filter emails to receive/read from certified contacts
- restoring Thunderbird filters
- How do I determine the attachment for messages with manifest v3?
- How to debug Typescript code with Thunderbird?
- Thunderbird (v115.3.2 64-bit) Outbox Count of Emails Waiting to be Sent
- How to debug a script in Thunderbird's Quicktext extension
- Assigned tags to mails are lost after update to Thunderbird 115
- keyboard short-cut or add-on to toggle full-screen message?
Related Questions in THUNDERBIRD-ADDON
- Thunderbird Plugin: Change email messages being displayed
- How to debug a script in Thunderbird's Quicktext extension
- keyboard short-cut or add-on to toggle full-screen message?
- Filter emails which are older than X days only with several "or" statements
- Write Thunderbird addon to handle Calendar notifications
- Listening for changes in the address fields
- Assign tags above 9 to message in Thunderbird
- Thunderbird WebExtensions / MailExtensions development - How to deal with events such as "new mail"?
- Filter Timer for Thunderbird
- Thunderbird tasks api
- Thunderbird extension unexpectedly stops execution
- How to execute / access local file from Thunderbird WebExtension?
- How to access full email source code in thunderbird message_display_action extension?
- Is it possible to update filter rules in Thunderbird via custom extension?
- How to handle feed folders in Thunderbird via AddIns?
Related Questions in THUNDERBIRD-LIGHTNING
- Write Thunderbird addon to handle Calendar notifications
- Thunderbird tasks api
- Thunderbird: How to access the calendar?
- How to sync Intranet thunderbird light calender
- How can I launch the Lightning-"create Event"-Dialog with given Date and Time
- Thunderbird Lightning caldav sync doesn't show any data/events
- CalDAV protocol synchronization and behavior of different clients
- Detect times and dates in Thunderbird mail
- Show 2 Times from Different Time Zones in Week and Day View in Thunderbird Lightning Extension
- Baikal 0.4.5: synchronization with Thunderbird + Lightning + SOGo connector
- Send iCal events with method=PUBLISH to in Exchange 2013, Outlook 2010, OWA
- iCloud Calender and task in Mozilla Thunderbird/Lightning
- trying to access Thunderbird-tabmail does not work
- how to delete alarm in lightning (in js)
- Synchronisation of Owncloud 8.1 with Lightning
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Do you want to update the status any time there is an event, or when an alarm fires? Unfortunately for both options there is no built-in way. You would have to create an extension that listens to the respective events and then connects with your messenger.
Any time there is an event
Ideally there would be an observer service notification when an event is in progress and when it ends, but internally we didn't come across a situation where we needed this yet. Its a very nice feature request, so if you'd like to add this feature to core and then use if from your extension please let me know.
Anyway, one way to handle this would be to run a timer every 15 minutes or so that retrieves items from all enabled calendars for the current time. When the timer fires, you can request events at the current time from all calendars. To do so, you should:
If you want to improve on this, you could at startup get the next event occurring and set the timer interval accordingly. This way you don't have empty timer runs and a more exact result.
When an alarm fires
This is far simpler. You can listen to the alarm service to determine when an alarm fires and act upon it.