Getting Webpage Information

Keith Clarke keith.clarke at me.com
Sun Mar 27 15:58:17 EDT 2022


Hi Rick,
Maybe try 'put the text of widget "youtBrowserName" into field "yourFieldName" ' to get the plain text? If you need the html source, try '...the htmlText' of widget...
Best,
Keith

> On 27 Mar 2022, at 19:01, Rick Harrison via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I have been playing around with the WebBrowser
> widget, and I can’t seem to grab the content results of
> what the page returns.
> 
> Example:  If I use the Browser to navigate to google,
> I can program a way to search for “Bird”.
> When the results are returned in the browser, I can
> manually perform a select all. I can then do a simple
> copy and paste of the copied text into a field.
> 
> I just can’t perform the above programmatically
> with LiveCode.  What am I missing here?
> 
> Thanks,
> 
> Rick
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list