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
Accessing/displaying browser content
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 106
- Joined: Wed May 31, 2006 9:56 pm
- Contact:
-
- Posts: 106
- Joined: Wed May 31, 2006 9:56 pm
- Contact:
Re: Accessing/displaying browser content
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
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
Re: Accessing/displaying browser content
Yes, revBrowserExecuteScript would be the way. Also checkout the browserBeforeNavigate message which is sent to the card and the puzzle should be complete.
Robert
Robert