thunderbird-lightning


How to create an extension for Thunderbird/Lightning


I had to create an extension for contacts import into Thunderbird. This part is done, now I need to import tasks. But tasks/calendar are not handled by default in thunderbird, so I need Lightning. Here is my problem. I have no idea if I can detect an other extension and use some of its features.
Easiest way to detect Lightning is checking whether its interfaces are defined, e.g.:
if ("calICalendar" in Components.interfaces)
alert("Lightning is installed!");
Using its features is a different thing - depends on what you are trying to do. For most things importing Lightning's modules and using them should do:
Components.utils.import("resource://calendar/modules/calUtils.jsm");
alert(cal.getCalendarManager().getCalendars());
I don't think it is properly documented however, you will have to look at the source code.

Related Links

How to create an extension for Thunderbird/Lightning

Categories

HOME
sendgrid
deployment
vbscript
openmp
c#-4.0
homebrew
iterator
iot
adb
sharepoint-designer
jpeg
django-imagekit
gorm
windows-azure-storage
visual-studio-2005
ibm-odm
django-simple-history
serilog
jqwidget
google-cloud-speech
viewport
kryo
chromium-embedded
vlsi
cas
kannel
pingfederate
frame
ecto
xquery-3.0
webtest
commit
openoffice.org
devextreme
retina-display
multilingual
espeak
leading-zero
lumberjack
android-mediaprojection
checkboxlist
node-sass
businessworks
chain-builder
mplayer
recursive-datastructures
vtigercrm
eventkit
objective-c-swift-bridge
time-and-attendance
wdf
httplistener
database-optimization
google-web-starter-kit
firebaseui
fputcsv
holder.js
disque
qgraphicsview
packagist
captivenetwork
rhino-servicebus
javax.sound.midi
intellij-14
ruby-2.2
tarjans-algorithm
dukescript
angular-leaflet-directive
census
graph-api-explorer
angularjs-ng-click
fpml
rdtsc
castle
starcluster
htmlcleaner
imdbpy
flexmojos
ivyde
cdc
ruby-datamapper
gwt-rpc
qt-faststart
flashvars
unc
multipage
custom-backend
mercurial-server
cinema-4d
appendto
gallio
icanhaz.js
bespin
compiler-specific
javap

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App