communication between rev and revBrowser

Ben Rubinstein benr_mc at cogapp.com
Fri Aug 22 10:20:09 EDT 2008


On 19/8/08 05:03, David Bovill wrote:
> No "built in" way - out of interest what other environments do this - would
> be interested to check.
> 
> There are only few hacks I can think of:
> 
>    1. Register a protocol with the browser - html in the browser can then
>    execute that code - AppleScript, Rev based shell scripts (not easy to
>    automate registering protocol)
>    2. Sockets & REST calls - use a Rev based server running on a local port,
>    and get the html to call the local url (should work fine)
>    3. That Windows QuickSilver thingy???

1. Interesting - I wonder how that plays out through revBrowser.  If a
protocol is registered with Safari, will revBrowser then get it, or it is
Safari-outside-webkit doing it?

2. Yes, I think that's probably the only complete solution not requiring
additional components (eg Flash, Silverlight); but probably only for page
calling out to stack, doesn't help going the other way.

3.  Silverlight thingy, I think; and theoretically on Mac (which is what I'm
working on) though I'll believe it when I see it.  But still, hmmm....

Thanks for your responses.  I've entered a QC item on this (because I think it
would be relatively straightforward enhancement, avoiding all such heavy duty
aproaches).  I'd be interested if you have any comments or suggestions to make
  on it:

http://quality.runrev.com/qacenter/show_bug.cgi?id=6986

- Ben




More information about the use-livecode mailing list