Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

application.ini, default.js and the startup file?

10 views
Skip to first unread message

rvj

unread,
Jan 14, 2009, 8:12:32 AM1/14/09
to
Ive never been quite sure about the relationship between the application.ini
file and the nane of the preferences file containing the name of the xul
startup file

1. Can anyone explain the "magical" link ?

2. Is it possible to name the required "preferences" file in the
application,ini ?

3. Is it possible to name the startup xul filename in application ini and
ignore the prefernces file completely?


*****************************************************


I would like to be able to create a number of shortcuts to the same
application but request different startup XUL file names

Each shortcut would point to a different application ini file which in turn
would indicate the relevant XUL file name to load using the same
application


Benjamin Smedberg

unread,
Jan 14, 2009, 9:54:52 AM1/14/09
to
On 1/14/09 8:12 AM, rvj wrote:
> Ive never been quite sure about the relationship between the application.ini
> file and the nane of the preferences file containing the name of the xul
> startup file
>
> 1. Can anyone explain the "magical" link ?

There is no link. We load any .js file in the preferences/ directory.

> 2. Is it possible to name the required "preferences" file in the
> application,ini ?

No.

> 3. Is it possible to name the startup xul filename in application ini and
> ignore the prefernces file completely?

No.

But, you don't have to use toolkit.defaultChromeURI to open windows. You
could write your own command-line handler and start the app any way you
want. See https://developer.mozilla.org/en/Chrome/Command_Line

--BDS

rvj

unread,
Jan 14, 2009, 10:01:05 AM1/14/09
to
many thanks

"Benjamin Smedberg" <benj...@smedbergs.us> wrote in message
news:NOqdnQHv9oMhYfDU...@mozilla.org...

0 new messages