Way to determine if button is pressed in browser
RGould8 at aol.com
RGould8 at aol.com
Mon Jan 27 17:00:38 EST 2003
I too, am interested in this code, if you have it handy. In particular,
what would the javascript "onclick()" handler look like, and what does the
"socket-reading" code on the Revolution-side look like? I've been
experimenting with open socket routines, and I seem to have problems getting
it to detect error messages.
In a message dated 1/27/03 3:19:46 PM, scott at tactilemedia.com writes:
> 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
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20030127/101d98bc/attachment.html>
More information about the use-livecode
mailing list