How to make a notebook that will be window maximized when open?

I use

CreateDocument[cells, opts]


to create a notebook. When the notebook is open, it has a small default windows size and I need to manually maximize it every time. Is there a good way to have it maximized by default?

-

1 Answer

Try the option WindowSize -> Scaled[1]:

CreateDocument["text", WindowSize -> Scaled[1]]

-
If you want to make it full screen (i.e. without menu bars), then use WindowSize -> Full –  rm -rf Sep 15 '12 at 17:38
@R.M Yes, I wrote Full at first, but later thought what OP want might be a maximization with menu bar. –  Silvia Sep 15 '12 at 17:44