Two Onenote windows on startup (command line switch)

B

Be Szpilman

Hi, I have a dual monitor setup, one being a tablet PC, and wanted to get two Onenote windows ready upon startup:
- A normal window, opening my last used file and without full screen - let's consider this one the standard launched window, so it's already there by adding onenote.exe to the startup group, so no issues here.
- The second window I would like to be on the tablet, and I believe I could get that extra screen by adding a second shortcut with the /sidenote switch (or can I not? Haven't tried as it's not my ideal scenario), but I would ideally want it to open a new Onenote Journal (from the powertoy) day page.
Which means what I want is a commandline switch to both get a second non-sidenote window and to get it in full screen mode at startup.
I understand the sidenote switch is a reasonable solution to both but I'd rather use the Onenote Journal which is far neater, or else not create a new page at all.
I can't find command line switches for neither of those. Anyone knows?
Thanks,
Be Szpilman

EggHeadCafe - Software Developer Portal of Choice
A Threadsafe .NET Blocking Queue Class
http://www.eggheadcafe.com/tutorial...1d-d6e960b04b7e/a-threadsafe-net-blockin.aspx
 
J

John Guin [msft]

You might be able to cobble something together with passing the location to a
..one file as a cmd line parameter. It will open as a standalone section, but
any changes you make to it will go to the file as well.

The command line switches are documented at
http://office.microsoft.com/en-us/onenote/HA101778331033.aspx

And btw, I posted a "How To" for the /sidenote switch for making shortcuts
at
http://blogs.msdn.com/johnguin/arch...-sidenote-in-onenote-when-windows-starts.aspx

If you do get something working, please post what you came up with!
 
B

Be Szpilman

Turns out the best setup for me is a /sidenote shortcut at startup, and a handy tablet hardware button mapped to Win+J (from the Onenote Journal powertoy). When I want a second onenote window in my main screen, I hit Ctrl+M and it opens at last location, in non-fullscreen mode. My goal with this setup is an easy way to have a non-full screen window at my main screen, and a full screen window at my tablet screen (tablet's in portrait mode).

The Onenote Journal powertoy is a real winner here, because it overrides two annoying sidenote behaviours (actually I can see where they are useful, just not for this situation of mine).
1st - It replaces the sidenote even if there's another non-sidenote window lying around. I navigate Onenote mostly using Launchy, I made it index all my .one files so I can type only 2 or 3 letters into the section name and be taken into it in whatever Onenote window has current/last focus. But not sidenotes, they won't open the file regardless of having focus, unless it's the only Onenote window. The Win+J command, however, overrides such behaviour and forces the sidenote out. (my sidenote opens maximized on my tablet screen, case you're wondering, so it's just like a normal full screen window)
2nd - If I used Launchy to launch the sidenote shortcut everytime I wanted quick access to it throughout the day, for a quick note, I'd end up with a bunch of new sidenote pages. Win+J mapped to the hardware button, however, always opens the same Onenote Journal page.

In the end I think it's actually better to launch the second (main) onenote window on demand instead of on startup, since I don't always use it. If I wanted two windows at startup, though, I'd be a bit out of luck as the commandline switches are really lacking at this and at full screen option - though something could probably be worked out.
The only caveat is that each time my computer starts Onenote creates a new Sidenote page, which I use for nothing and have to delete. Auto cleaning pages left empty would be a nice little detail for Onenote 2010.



John Guin [msft] wrote:

You might be able to cobble something together with passing the location to a.
14-Nov-09

You might be able to cobble something together with passing the location to
..one file as a cmd line parameter. It will open as a standalone section, bu
any changes you make to it will go to the file as well

The command line switches are documented a
http://office.microsoft.com/en-us/onenote/HA101778331033.asp

And btw, I posted a "How To" for the /sidenote switch for making shortcut
a
http://blogs.msdn.com/johnguin/arch...w-sidenote-in-onenote-when-windows-starts.asp

If you do get something working, please post what you came up with

-
I hope some of this helps
John Gui
OneNote Test Tea
http://blogs.msdn.com/johngui

:

Previous Posts In This Thread:

EggHeadCafe - Software Developer Portal of Choice
..NET GDI+ Graphics Edge Detection via Sobel Filter
http://www.eggheadcafe.com/tutorial...820-43126cbeb1a7/net-gdi-graphics-edge-d.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top