Technology Questions

Go Back   Technology Questions > Software Questions > General Questions > Microsoft Office > Microsoft OneNote

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 11-13-2009, 09:20 PM
Be Szpilman
Newsgroup Contributor
 
Posts: n/a
Two Onenote windows on startup (command line switch)

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/tutorials...t-blockin.aspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 11-13-2009, 09:20 PM
  #2 (permalink)  
Old 11-13-2009, 10:40 PM
John Guin [msft]
Newsgroup Contributor
 
Posts: n/a
RE: Two Onenote windows on startup (command line switch)

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/on...778331033.aspx

And btw, I posted a "How To" for the /sidenote switch for making shortcuts
at
http://blogs.msdn.com/johnguin/archi...ws-starts.aspx

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

--
I hope some of this helps,
John Guin
OneNote Test Team
http://blogs.msdn.com/johnguin


"Be Szpilman" wrote:

> 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/tutorials...t-blockin.aspx
> .
>

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 11-17-2009, 08:40 PM
Be Szpilman
Newsgroup Contributor
 
Posts: n/a
Thank you John! I ended up taking a side route.

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 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/on...778331033.aspx

And btw, I posted a "How To" for the /sidenote switch for making shortcuts
at
http://blogs.msdn.com/johnguin/archi...ws-starts.aspx

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

--
I hope some of this helps,
John Guin
OneNote Test Team
http://blogs.msdn.com/johnguin


"Be Szpilman" wrote:

Previous Posts In This Thread:

EggHeadCafe - Software Developer Portal of Choice
..NET GDI+ Graphics Edge Detection via Sobel Filter
http://www.eggheadcafe.com/tutorials...cs-edge-d.aspx
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
command line switch for IExplore.exe BYaniv Internet Explorer 2 03-28-2009 05:15 PM
How to include command line arguments in a onenote hyperlink JAD Microsoft OneNote 1 03-08-2009 08:58 AM
Command Line switch for new page rodlynn Microsoft OneNote 1 06-23-2008 05:40 AM
Windows XP command line JarrodDeMotts Windows XP 3 11-07-2007 08:00 AM
How to target which notebook with command line startup switch? John Waller Microsoft OneNote 0 04-23-2007 08:15 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 01:24 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0