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.

Regards
Gary Rathbone


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of [EMAIL PROTECTED]
Sent: 27 January 2003 18:52
To: [EMAIL PROTECTED]
Subject: Way to determine if button is pressed in browser


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.  

I know how to write a Rev app that sniffs the "page title" of whatever
web-page is showing in IE, but I don't know if there's a way to react to a
Javascript call from a button on the web-page.  Is there a way? 


_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to