lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 04/08/2008, KHMan <keinhong@gmail.com> wrote:
> Using the SciteOpenUrl Lua script on WinXP unfortunately flashes a
> console window due to os.execute(), but the following substitution
> in the SciteOpenUrl Lua script sorta works:
>
>  os.execute([[<browserpath> ]]..txt.." ")
>
> where <browserpath> is the appropriate browser's path.
>
> There may be other ways of doing this, because of the flexibility
> and configurability of SciTE.

Does the Lua support in SciTE allow for loading of binary
extensions[1]? If so, LuaSys would allow you to just do sys.run(url)
to open the default browser.

Paul

[1] One of the annoyances with Lua binary compatibility on Windows is
that often, embedded Lua interpreters don't support binary
extensions...