t.heaford at icloud.com
Fri Jul 24 07:18:58 EDT 2015
Yes it works correctly if I use this script from LC with the content in a file
answer file "Select a chart to load:"
if the result is not "cancel" then
put it into gFile
revBrowserNavigate gBrowserId, "file://" & gFile
What I really want to do is just load the content of the file gFile directly from LC.
I thought put revBrowserSet gBrowserID,”htmlText”,theContentsOfgFile might work, but it doesn’t.
Perhaps I am using this in the wrong context but there does not appear to be any docs for using revBrowser type commands unless I can’t find them?
All the best
> On 24 Jul 2015, at 09:51, Kay C Lan <lan.kc.macmail at gmail.com> wrote:
> paste it straight into a text editor, and then display that file in a
> 'real' Browser does it display correctly? I've done exactly your steps and
> have had no trouble displaying LC created html in an LC Browser instance.
> Actually there is one difference, I don't revBrowserRefresh, I just 'wait 1
> millisec' and it displays.
More information about the Use-livecode