[Project_owners] exchange data between instance

Brian King brian at mozdev.org
Thu Sep 11 22:07:08 EDT 2003

Biju G C wrote:

> I did not get how to use nsIWindowmediator for my purpose
> I tried...

If you know the window type (found using the 'windowtype' attribute on 
the <window> element) of the window you are looking for, thats the 
easiest way to find it.

Nice example here:

If it doesn't find an open window, it launches a new one -- behaviour 
you can change if you don't need it of course.

Usage is 3 lines above it.

Brian King

More information about the Project_owners mailing list