Sending events to XUL

View: New views
1 Messages — Rating Filter:   Alert me  

Sending events to XUL

by AkleyMac :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I am currently working on a project which involves grabbing pieces of Javascript from a web page in a XUL browser. I have been asked to find a way to control XUL from another application. Primarily, we need to be able to send events to XUL (such as mouse events etc), and we need to be able to get output from XUL as well (for example, the javascript in a page).

Does anyone have any ideas about how I might go about this?

I saw a while ago that mozilla added support for xremote:

http://www.mozilla.org/unix/remote.html

However, this seems far from complete, and it doesn't look like anyone's updated it for a while.

Many thanks,
Tom