manipulating revBrowser?

Dr. Hawkins dochawk at gmail.com
Wed May 7 18:37:34 EDT 2014


On Wed, Apr 16, 2014 at 7:23 AM, Mike Bonner <bonnmike at gmail.com> wrote:

> Not sure if its changed, but you can execute javascript in the browser.
> Look at revbrowserexecutescript and revbrowsercallscript.  Even if the site
> itself is free of javascript, you can most likely still use
> revbrowserexecutescript to fill in and click things.  Maybe you can get
> things working that way.
>

If I'm reading this correctly,  I can send my own message (whatever's
javascript for "put Abc123 into field SomeField",  "chose ChooseMe from
scrolling list scroll" or "push button someButton") to a web page?


> As for clicking and typing, its possible to tell lc to click at locations
> but it only works on stacks. No clicking outside of lc, and unfortunately
> revbrowser isn't part of the clickable.
>
> Somewhere around here I have an external that gets around this.  (windows)
>   I used it for a remote control app.  App on android, receiver on windows
> so that I could move the mouse and click locations.  If you are able to
> write in cpp(I'm not but still got something working luckily), you can
> probably build an external to do what you need.
>

I can't even remember how many times I've learned and forgotten C & C++
over the years.  Most languages stick, but not those.   But the sites I
need to manipulate are simple enough:  all I really need to do is fill
fields, select from scrolling lists, and push buttons.




-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462



More information about the use-livecode mailing list