how to load a local file into the browser widget?

Tore Nilsen tore.nilsen at
Fri May 24 17:00:57 EDT 2019

Try to start the url with «file:/// <file:///>« this is what I get at the start of the url of a browser widget when i set the url from a script using «answer file» to navigate to any valid html file:

on mouseUp

answer file "Choose html file to display"

set url of widget "browser" to it

end mouseUp


> 24. mai 2019 kl. 22:29 skrev Curt Ford via use-livecode <use-livecode at>:
>> You must make sure that the filePath to the html file you would like to see does not contain any invalid characters like spaces, which you will find is OK by the file system but not with the browser.
> I had wondered about this; I renamed the file to "Browsertryout" and moved it to the desktop (so there were no spaces in the filePath, which is now "file://Users/cford/Desktop/"), but I'm still getting the same result (a blank widget).
> Curt
> -- 
> Sent from Postbox <>
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list