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
- Call Perl script from Thunderbird Javascript
- Fix the name of the Thunderbird roaming folder by a script
- PHP Mail - Japanese characters are not displaying properly on Thunderbird
- How to create a Thunderbird native extension?
- Thunderbird Portable losing imported profile after first opening
- Create and save message in folder
- How to make Thunderbird stop during email download?
- How to sync Intranet thunderbird light calender
- Why e-mails sent from Roundcube don't appear like sent in another mail clients?
- python - subprocess length limit
- Error during running thunderbird in Centos
- Thunderbird: Unable to add email account
- Force html email in Thunderbird to float elements within container
- char* gets lost on return from C DLL to js-ctypes
- FETCH command IMAP based on headers defined by RFC822
Related Questions in THUNDERBIRD-ADDON
- How to make Thunderbird stop during email download?
- How to display the body of an email with a thunderbird-addon?
- How to iterate over files in a directory within an extractionless add-on's .xpi file
- Difference between thunderbird and firefox add-ons
- get message body using javascript (thunderbird)
- char* gets lost on return from C DLL to js-ctypes
- Failed to remove attachment in Thunderbird AddOn
- Thunderbird extension - unhide account.incomingServer
- Thunderbird extension. Add field to messagePane. How to deal with windows instances?
- How can I "hack" the Thunderbird Lightning extension to fully color categories
- Add a new language to Thunderbird spell check
- How to intercept incoming email and retrieve message body in thunderbird
- HTML - Mails don't look right after they got send (thunderbird)
- How to debug a Thunderbird addon/extension's JavaScript
- How to access Thunderbird's toolbar-button-icons?
Related Questions in THUNDERBIRD-LIGHTNING
- How to sync Intranet thunderbird light calender
- How can I "hack" the Thunderbird Lightning extension to fully color categories
- Can Lightning calendars be created with thunderbird.cfg?
- iCloud Calender and task in Mozilla Thunderbird/Lightning
- Baikal 0.4.5: synchronization with Thunderbird + Lightning + SOGo connector
- Show 2 Times from Different Time Zones in Week and Day View in Thunderbird Lightning Extension
- Lightning 2.6.4 is unavailable in Thunderbird 24.3
- Write Thunderbird addon to handle Calendar notifications
- CalDAV protocol synchronization and behavior of different clients
- Thunderbird Lightning caldav sync doesn't show any data/events
- Thunderbird tasks api
- How can I launch the Lightning-"create Event"-Dialog with given Date and Time
- How to create an extension for Thunderbird/Lightning
- Synchronizing Thunderbird artefacts via IMAP?
- 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 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.