Lua Scripts Integration

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

Lua Scripts Integration

Post by privatetutor »

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!
User avatar
LoudNoise
New Member
Posts: 39900
Joined: October 18th, 2007, 1:45 pm
Location: Next door to the west

Re: Lua Scripts Integration

Post by LoudNoise »

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."
User avatar
Philip Chee
Posts: 6475
Joined: March 1st, 2005, 3:03 pm
Contact:

Re: Lua Scripts Integration

Post by Philip Chee »

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
Post Reply