Comment 43 for bug 849624

Revision history for this message
In , Giermann (giermann) wrote :

(In reply to comment #34)
> You don't need to control the message window, neither is it something you need
> to care about. All you need to do is to remember that Lightning has been
> instructed to automatically switch to the calendar mode upon startup and invoke
> the necessary bits and pieces during the load handler (ltnOnLoad).

I'm at the same problem I was some months ago:
   How do I _REMEMBER_ the command-line switch?

Maybe I'm blind - but I can only handle command-line switches in a script in 'components', right? The switches are not available through 'window.arguments' in any Lightning script...
When I install a command-line handler, how could this access some global variables without installing a component service that could be 'asked' later - do we have to go this way for this simple demand???

(In reply to comment #36)
> I have a semi-working solution for this bug, but it probably won't make 0.8

It would be great, if you could post this as a WIP patch - maybe things are easier for me then ;-)