1. Attn:Pete WEE ui_show_uri()
- Posted by andi49 Apr 09, 2016
- 980 views
Hallo
The following lines are in ui.win.e:
global procedure ui_show_uri(sequence uri) atom result -- TODO: get default browser from -- HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\shell\open\command -- note: just opening the uri won't work, since shellexecute will -- strip off any #anchor text, so using iexplore.exe for now [...]
The AssocQueryString() function returns the associated EXE to a fileextension.
Demo is here: http://openeuphoria.org/pastey/281.wc
Just call it like this
GetAssoc(ASSOCF_NONE,ASSOCSTR_EXECUTABLE,".html","open")
to get the Browser.
Andreas
btw: Testet with Wee 0.47 on Win10 64bit.