Way to determine if button is pressed in browser

Ken Ray kray at sonsothunder.com
Mon Jan 27 16:55:01 EST 2003


> >> I've been asked to see if it's possible to write a Revolution app that
> >> reacts when a button in pressed on a web-page within Internet Explorer.
> >> This Rev app would be running the same time that Internet Explorer is
> >> running and would just be "sniffing" the browser to see if the user
pressed
> >> a button on the web-page.
>
> > You could use sockets in Rev to 'listen' to requests on say port 81. In
the
> > page the Javascript could refer to 127.0.0.1:81 which is port 81 on the
> > local machine.
> > Rev could then parse any arguments and act accordingly. I've done it
this
> > way for a couple of projects and it works fine.
>
> Gary -- this sounds like a very useful thing (to me anyway).  Would it be
> possible to share your script with the list?

I second that, Gary... looks like you've hit something that a number of us
could use...

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/




More information about the use-livecode mailing list