JanakiRam wrote:
> Hi All,
> 
>          I'm creating a Cross Platform XULRunner Application on Mac &
> Windows.I'm facing a strange issue with XULRunner app.My Application
> needs to have single instance of the XULRUnner application being run
> at a time
> 
>          In Mac , i can only be able to create one instance of the
> application. Even If i try to launch it again ( by double-clicking
> the .app again ) , it throws a dialog saying it can't launch multiple
> instances of the app.
> 
>                   But In Windows , I can launch my app as many time i
> can.But I need to restrict multiple instances being launched  by
> launching the .exe
> 
>           Please help me to solve this problem.
> 
>           Also provide some pointers on why the XULRunner Application
> is behaving differently on Mac & Windows for multiple Instances.
> 
> -JanakiRam.
> 
pref("toolkit.singletonWindowType", "Name of your Application");
in your preferences.
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to