lua-users home
lua-l archive

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

KHMan  wrote:
> Gavin Wraith wrote:

>> One of them is the facility to doubleclick on a URL in a text
>> file to cause a browser to open that URL.

> Sorry OT, but this works pretty well:
>  command.1.*=<browserpath> $(CurrentSelection)
> Substitute <browserpath> with the appropriate browser.

I have not tested (since I'm not a Windows user)
but possibly this could work:
  command.1.*=start $(CurrentSelection)

or from Lua:
  os.execute("start "..url)

 - Jeff