MozillaZine

Lua Scripts Integration

Talk about add-ons and extension development.
privatetutor
 
Posts: 2
Joined: September 15th, 2009, 10:02 am

Post Posted April 13th, 2015, 5:18 pm

Hello,

I wonder if there is any way to extend Thunderbird with my own lua scripts?

My desire:

1) load lua with thunderbird
2) let thunderbird do certain tasks
3) maybe add features to thunderbird as for example: open link (in email) in incognito mode instead of standard mode

meaning: is there some way to start the lua interpreter, or are there examples, or tutorials?

or:

how can I write a plugin/extension in Lua and add it to Thunderbird.

Is there any good Thunderbird "plugins for dummies" out there? After a lot of researching i didnt find some thing yet, that wouldnt force me into extensive studying ( I do php programming, and recently started with Lua that seems to be a perfect combo for Thunderbird, as the VLC is able to implement lua script, right?)

thanx so much!

LoudNoise
Moderator

User avatar
 
Posts: 40048
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Post Posted April 14th, 2015, 7:03 pm

This has over 30 views here without a reply. I am going to move it to Extension Dev to see if you have better luck.
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."

Philip Chee

User avatar
 
Posts: 6475
Joined: March 1st, 2005, 3:03 pm

Post Posted April 16th, 2015, 9:47 am

You can take the C source code for the Lua interpreter and use Emscripten to compile it to JavaScript.
https://github.com/campadrenalin/weblua
Ship your extension with weblua.js and then write Lua scripts to interact with Thunderbird.

Phil

Return to Extension Development


Who is online

Users browsing this forum: No registered users and 2 guests