I have an application which is started on client hosts using "firefox -chrome chrome://idesk/chrome". I am looking for a solution to pass an additional URL as argument to the application where the application get some further UI informations from. This since URL is specific to the client I can not hard-code the URL into the XUL application. I played with reading the information from a local configuration file in the file-system (which works) but the client application can run on any
operating system and being installed in any location..so there is no
fixed location I can assume. So my next idea was setting an environment variable to hold the need informations but I don't know if it is possible and how to access the environment variable using XPCOM?
Perhaps there is a better solution to pass arguments to a XUL application?!

Thanks,
Andreas
_______________________________________________
Mozilla-xpcom mailing list
Mozilla-xpcom@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to