Accessing/displaying browser content

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Ron Zellner
Posts: 106
Joined: Wed May 31, 2006 9:56 pm
Contact:

Accessing/displaying browser content

Post by Ron Zellner » Fri Jan 07, 2011 1:10 am

I have done a lot of Rev development, but I have not done much in this particular area. Is there a resource in the tutorial/sample area that illustrates features for accessing content from web sites and displaying it inside a Rev (LiveCode) stack?
There are a number of terms in the dictionary related to this, but I'm not quite sure how to begin and what the full potential is.
Looking for a jump start.
Thanks,

Ron

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Accessing/displaying browser content

Post by RRobert » Fri Jan 07, 2011 2:34 am

You should find a Browser Sample under Resource Center, Internet. And you may also look for the URL keyword and related lessons.

Robert

Ron Zellner
Posts: 106
Joined: Wed May 31, 2006 9:56 pm
Contact:

Re: Accessing/displaying browser content

Post by Ron Zellner » Fri Jan 07, 2011 4:43 am

Right on! The "Browser Sampler" stack was really useful. Don't know how I missed it.
I see how it can select or get text from the web-browser content, is it possible to use LiveCode to interact with the elements in the web-browser? Like put text into a field or have a button clicked?
I'm guessing it would use a command like revBrowserExecuteScript using javascript code that would be somewhat the same as if it were in the web page itself.
Is that on the right track?

Ron

RRobert
Posts: 151
Joined: Sat Feb 28, 2009 8:20 pm

Re: Accessing/displaying browser content

Post by RRobert » Fri Jan 07, 2011 6:38 am

Yes, revBrowserExecuteScript would be the way. Also checkout the browserBeforeNavigate message which is sent to the card and the puzzle should be complete.

Robert

Post Reply