Way to determine if button is pressed in browser

Scott Rossi scott at tactilemedia.com
Mon Jan 27 15:22:01 EST 2003


Recently, "Gary Rathbone"  wrote:

>> 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?

Thanks & Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com




More information about the use-livecode mailing list