r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Plugin-2] Browser Plugins

amacleod
3-Sep-2008
[1983x2]
I was able to use it on my linux box with firefox. I know there is 
know plugin for linux firefox and I do not have any form of the plugin 
on that machine.
My mistake. The front end ran but rebol apps do not on the linux 
box...never mind
Graham
9-Oct-2008
[1985x12]
What is the status of the plugin ?  Does it work for FF 3?   IE 7? 
Chrome ?
IE 7 works.
FF3 gives this error
Firefox could not install the file at 

http://www.rebol.com/plugin/rebol-mozb2.xpi

because: Install script not found
-204
>> exists? http://www.rebol.com/plugin/rebol-mozb2.xpi
connecting to: www.rebol.com
== true
I am thinking of building something that will allow me to annotate 
faxes
If I use the paint program in the library ... as a plugin
I guess my plugin code will have to pass the image as a parameter 
to the code so that it loads the image.
So, I'll have to dynamically generate the plugin code.  Sound right?
the fax is on a remote site and will be converted to png by imagemagick
Anyone know how to pass parameters to the plugin?
<PARAM NAME="Args" VALUE="?"> ? Command-line arguments passed to 
the script (available in system/options/args).
http://www.rebol.net/plugin/tests/plugin-guide.html
What I am doing now is storing the image in the webapp public area. 
 I think create the embed object with a parameter pointing to the 
image.  the embed object loads the paint program and then loads the 
image as the parameter.
Terry
9-Oct-2008
[1997]
that's quite the mashup
Graham
9-Oct-2008
[1998x2]
It's working ...
I can paint on an image that is stored in the Cheyenne webapp
Terry
9-Oct-2008
[2000]
How do you define webapp?
Graham
9-Oct-2008
[2001]
That's the term Cheyenne uses for a password protected area of the 
webspace
Terry
9-Oct-2008
[2002x2]
ahh..
did you need a password to draw on it?
Graham
9-Oct-2008
[2004x2]
let me do a quick video
http://screencast.com/t/ICQzmG4FP5
Terry
9-Oct-2008
[2006]
ok
Graham
9-Oct-2008
[2007]
the paint is a bit sluggish :(
Terry
9-Oct-2008
[2008]
Why faxes? Do they not have internet in NZ?
Graham
9-Oct-2008
[2009x2]
It's for the USA.  Not for me
Oh, and Canada
Terry
9-Oct-2008
[2011]
Still
Graham
9-Oct-2008
[2012]
Most docs in the USA and Canada get prescription requests by fax 
from the pharmacy
Terry
9-Oct-2008
[2013]
That industry is as bad as government when it comes to IT
Graham
9-Oct-2008
[2014]
I don't recall the plugin being this sluggish
Terry
9-Oct-2008
[2015]
Chrome?
Graham
9-Oct-2008
[2016]
IE
Graham
10-Oct-2008
[2017x4]
Anyone using IE can tell me why the paint is so very slow? http://www.compkarori.com/faxes/paint.html
Or, any View experts here .... Anton??
the plugin doesn't seem to show up in task manager.
I had always imagined that the view.dll ran just like View in terms 
of speed.
DideC
10-Oct-2008
[2021x2]
I looks like events are flowing too much. I guess events have to 
"traverse" the browser and then go to view.dll.

Maybe you should try an event filtering like romano/gabriele's one. 
eat.r is in rebol.org, but is old. I think there was an earlier version 
somewhere (Romano's web site : url ?)
I looks = It looks
Graham
10-Oct-2008
[2023x6]
Hmm.
I guess I could bring up the paint in it's own window so that it 
is outside the browser
I'lll give that a go.
the browser makes a nice container though allowing me to scroll the 
paint applet
I thought about enclosing the image inside <canvas> tags .. but doesn't 
work.
Yes, that works better, taking the paint surface out of the browser 
into it's own window.
Gabriele
13-Oct-2008
[2029x2]
graham, i think i remember the pluging getting a lot of mouse events 
(more than the standalone view). i think this was a IE thing.
you could solve using something like event compression etc.
Graham
13-Oct-2008
[2031]
Oh well, using it's own window also works :)
Graham
15-Oct-2008
[2032]
Anyone got the plugin to work with FF3 ?