I tested the handling of commandline switches. I got a working solution now, but with two disadvantages:
1. I cannot test the existence of the views, because the document seems not to be loaded at this early time.
2. I have to create an own messenger window with the argument 'about:blank' to prevent loadStartFolder() to switch to the Inbox after biff.
But this would load 2 messenger windows, if also started with a start-page (i.e. 'thunderbird.exe about:blank -calendar')
To fix the 2nd, we would have to change Thunderbird code - right?
mvl,
I tested the handling of commandline switches. I got a working solution now, but with two disadvantages:
1. I cannot test the existence of the views, because the document seems not to be loaded at this early time.
2. I have to create an own messenger window with the argument 'about:blank' to prevent loadStartFolder() to switch to the Inbox after biff.
But this would load 2 messenger windows, if also started with a start-page (i.e. 'thunderbird.exe about:blank -calendar')
To fix the 2nd, we would have to change Thunderbird code - right?