manipulating revBrowser?

Mike Bonner bonnmike at
Wed Apr 16 16:23:49 CEST 2014

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.

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.

Once the framework and all was set up, I used the rnaHelloUser sample as a
base to make the clicker.

I am NOT a cpp programmer, haven't a clue really, but did get the clicker
to work.  One call does both up and down of the left mouse button:

void clickIt(char *p_arguments[],int p_argument_count, char **r_result,Bool
*r_pass, Bool *r_err)
const char *t_error;
t_error = NULL;

mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);

*r_result = strdup("");
*r_pass = False;
*r_err = False;

Then the declarations



With the new stuff coming out i'm sure writing externals is a different
beast than it was, but even so.  If all you need to do is be able to click,
and send keystrokes to revbrowser, this might do it.  I'll have to dig out
clicky and see if it will actually click in revbrowser, though i'm sure it

I'm also not sure if the switch to webkit is done yet. (that IS what's
happening right?)  Things might improve, or get worse as far as
manipulating the browser, another thing i'm clueless about. :)

On Tue, Apr 15, 2014 at 11:35 PM, As_Simon <simon at> wrote:

> I have a feeling this request is about automatically filling in a form and
> clicking buttons via revbrowser.
> It's been years since I last tried but I believe the answer is the same, a
> sad No.
> type
> click
> Nothing
> Never tried re-writing the web page and posting that.
> But I did just figure out how to post info to php/cgi on mobile, so that
> might be possible.
> Simon
> --
> View this message in context:
> Sent from the Revolution - User mailing list archive at
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the use-livecode mailing list