I just found a very nice way to open a text input dialog on Windows.
There is a dll called LuaWin that works well.
 
It has been referenced on the list before,
http://www.lyra.org/pipermail/scite-interest/2006-February/007205.html
 
And shows up here,
http://lua-users.org/wiki/SciteInplaceCalculator

The dll evidently needs a small Lua binary, Lua+Lib.dll in order to run.
Lua+Lib.dll can be downloaded from the first link on
http://phi.lho.free.fr/softwares/PhiLhoSoft/Lua/Lua.en.html.

It works:
local Init =
loadlib(props['SciteDefaultHome']..'/lua/library/LuaWin.dll', 'Init')
Init()
local flg, msg = win.InputBox('What is your name?')
print(msg)

Sweet.
 
-Ben
 

_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to