Yeah, something like this shoved into a variable tJavascript: document. getElementById("username").value="Username";
get revbrowserexecutescript(sBrowserId,tJavascript) would hopefully fill in a form element with the id "username" with the value "Username" >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? On Wed, May 7, 2014 at 4:37 PM, Dr. Hawkins <doch...@gmail.com> wrote: > On Wed, Apr 16, 2014 at 7:23 AM, Mike Bonner <bonnm...@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 > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode