1. Attn:Pete WEE ui_show_uri()

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.

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu