Can javascript be used to send a message to a port? If so, the Rev app
could be set to listen to that port, and receive messages from the
browser.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
Sent: Tuesday, December 28, 2004 11:46 AM
To: Use Revolution List
Subject: Re: Way for browser to talk to Rev?

On 12/28/04 10:40 AM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:

> I know that I can use Revolution to talk to Applescript to pass
> values/commands to IE and Safari via their "Do Applescript" calls, but
is
> there a method of
> going the other way?   (For instance, pressing a button on a web-page
which
> sends a Javascript call back to Revolution that can be picked up?)

Well, if you are using a "normal" browser, the only thing I can think of
is
to have the button in the web page call a CGI which stores some
information
and have a front-end Rev app query the CGI periodically to see if it is
received the "call" from the browser.

However, if you want to *embed* the browser into a Rev stack using
Chipp's
altBrowser, you could do this by creating a "fake" url to go to, which
altBrowser can trap and you can take action based on it.

There may be other ways, but those are the only ones I've thought of so
far.

HTH,

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to