variable from a web site

Mike Bonner bonnmike at gmail.com
Mon Mar 4 09:13:16 EST 2013


Don't have time to dig further, but something like this might get you
started..

on mouseUp

   get revbrowserexecutescript(1,"result=outputDiv.innerHTML;") -- gets the
innerHtml of outputDiv

   put it -- could be "put the result" in this case also, info is
duplicated.

end mouseUp


On Mon, Mar 4, 2013 at 3:42 AM, Jacques Hausser <jacques.hausser at unil.ch>wrote:

>
> I'm a total newbie with browsers and worse, totally blind-and-deaf to
> Java. My problem is I want to pick coordinates and elevation in a LC stack
> from
> http://www.daftlogic.com/sandbox-google-maps-find-altitude.htm
> just by clicking on the map.
> I was (surprisingly) able to get a browser working in my stack. Now, the
> results are apparently available as a CSV list in a variable 'outputDIV',
> defined as : var outputDiv=document.getElementById('outputDiv');
> How to get this variable automatically after a click on the map ?
> Many thanks in advance !
>
> Jacques
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list