Welcome to MSDN Blogs Sign in | Join | Help

Yet another OneNote Powertoy

 

A great part of working in OneNote test is the people on our team.  Take Jeff Cardon (again), for instance.  He was wanting to know what types of addins people were requesting the most.  I mentioned the method we tell users to use to make a page a subpage involves cutting, pasting, creating new pages and deleting the old one.  While it's relatively quick to do, I find it a bit tedious, and apparently some users find it overly time consuming.

 

I left his office to grab some coffee and it seemed like I had just got back to mine and sat down when Jeff came by and said "I have a build for you to test!"  I tested it, it works great,  and here it is:

 

http://johnguin.members.winisp.net/Shared%20Documents/makesubpage_setup.zip

 

And Jeff also figured out the setting to make the default install be for "Everyone who uses this computer."  This is one less button to click during setup.  Other than that, the standard install directions apply: exit OneNote, install as admin, and restart OneNote when done.

 

Dan Escapa had also thought about this addin and did not release it.  He gave some code away, though, and you can check his reasoning and code here.   (Personally, I like to think Daniel's reason #3 - that not too many people read these blogs - is no longer true).   Jeff and I decided to give this away since it makes it very easy to make a page a subpage.  After you move a subpage, though, OneNote makes it a page.  Dan thought that may be confusing, but clicking the little toolbar icon makes it easy to make it a subpage again.  I think this is pretty slick, and am using it to reorganize some of my notebooks already.

 

Undo and selecting multiple pages are even supported.

 

Some users report the ZIP files have gotten corrupted.  Sadly, the easiest workaround to get them intact is to download with Firefox (sigh).  I'm working with the WinISP staff to find out what is going wrong…

 

Enjoy!

 

Comments, questions, concerns and criticisms always welcome,

John

Published Thursday, August 23, 2007 9:31 AM by JohnGuin

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Yet another OneNote Powertoy

A really cool Powertoy would be one that let me share a OneNote notebook over WebDAV to an SSL-encrypted IIS server using Active Directory authentication. Now THAT would be cool!

Thursday, August 23, 2007 2:07 PM by Michael

# Make Subpage powertoy

It appear that John and Jeff have been working together and have posted another powertoy to take the

Thursday, August 23, 2007 5:48 PM by Daniel Escapa's OneNote Blog

# Link to the powertoy doesn't work

Tried clicking the link to download the zip file and it doesn't work.

Thursday, August 23, 2007 7:45 PM by P Cause

# re: Yet another OneNote Powertoy

Hmm...I just tried to download from 2 different machines and the link seems to work fine.  Can you try again?

John

Thursday, August 23, 2007 10:06 PM by JohnGuin

# Another OneNote Powertoy

Guys over there have been really busy lately... Looks like Jeff Cardon has put together a way to take

Thursday, August 23, 2007 10:51 PM by Pocket.Net - Mobile 2.0

# re: Yet another OneNote Powertoy

What am I missing here?

Why wouldn't you just multi-select the pages you want grouped and choose the "group pages" context menu?

Thursday, August 23, 2007 11:17 PM by Michael Harrison

# re: Yet another OneNote Powertoy

Well, grouping pages leaves the topmost page as the parent.  This addin makes all selected pages subpages - even the topmost selected page.

Also, this works with just the current page.  For grouping pages, you must have 2 or more selected.

John

Thursday, August 23, 2007 11:35 PM by JohnGuin

# Another OneNote Powertoy - Make a Page to Sub-Page

Guys over there at Microsoft have been really busy lately... Looks like Jeff Cardon has put together

Thursday, August 23, 2007 11:53 PM by Pocket.Net - Mobile 2.0

# re: Yet another OneNote Powertoy

I don't like whining for features, but I've seen this come up on the onenote newsgroup several times and simply shot down, and it's a feature that is critically important for me -- is there no way to add support for Word styles?  By that, I mean, is it overly difficult to make it so you can paste a word document into OneNote and have it Just Work?  My understanding is that ON just doesn't support the styles.

The reason I desparately need this is that I use ON with its tags to study large amounts of information for medical school.  If I could highlight the text itself and just click tag, it would be insanely easier than rewriting it with my pen and tagging it.  However, when I paste in documents to take advantage of this feature, they are garbled.

Sorry to request a feature right when you release a useful one.  The subpage feature is very useful for me.

Friday, August 24, 2007 2:01 PM by Bryan

# re: Yet another OneNote Powertoy

I get a .NET error with this power toy when click on the subpage icon. I seem to have .NET versions 2.0 and 1.1 installed on my computer. Is this a known bug? Could someone help me?

Wednesday, August 29, 2007 8:27 PM by Pebuaa

# re: Yet another OneNote Powertoy

What is the exact .NET error?  2.0 is all that is required - I doubt any of the patches for it are needed, but can you double check to see if you have them installed?

John

Wednesday, August 29, 2007 10:04 PM by JohnGuin

# re: Yet another OneNote Powertoy

John,

Here is the error log from .NET. In the mean time I tried repairing my .NET installation but it still gives me the same error.

Thank You.

************************************************

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.Runtime.InteropServices.COMException (0x80042015): Exception from HRESULT: 0x80042015

  at Microsoft.Office.Interop.OneNote.ApplicationClass.UpdateHierarchy(String bstrChangesXmlIn)

  at MakeSubpage.Form1.DoWork()

  at MakeSubpage.Form1.Form1_Load(Object sender, EventArgs e)

  at System.Windows.Forms.Form.OnLoad(EventArgs e)

  at System.Windows.Forms.Form.OnCreateControl()

  at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

  at System.Windows.Forms.Control.CreateControl()

  at System.Windows.Forms.Control.WmShowWindow(Message& m)

  at System.Windows.Forms.Control.WndProc(Message& m)

  at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

  at System.Windows.Forms.ContainerControl.WndProc(Message& m)

  at System.Windows.Forms.Form.WmShowWindow(Message& m)

  at System.Windows.Forms.Form.WndProc(Message& m)

  at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

  at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

  at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Loaded Assemblies **************

mscorlib

   Assembly Version: 2.0.0.0

   Win32 Version: 2.0.50727.832 (QFE.050727-8300)

   CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll

----------------------------------------

MakeSubpage

   Assembly Version: 1.0.0.0

   Win32 Version: 1.0.0.0

   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/MakeSubpage/1.0.0.0__14fa48f29ba98980/MakeSubpage.exe

----------------------------------------

Microsoft.Office.Interop.OneNote

   Assembly Version: 12.0.0.0

   Win32 Version: 12.0.4518.1014

   CodeBase: file:///C:/WINDOWS/assembly/GAC/Microsoft.Office.Interop.OneNote/12.0.0.0__71e9bce111e9429c/Microsoft.Office.Interop.OneNote.dll

----------------------------------------

System.Windows.Forms

   Assembly Version: 2.0.0.0

   Win32 Version: 2.0.50727.832 (QFE.050727-8300)

   CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

Thursday, August 30, 2007 10:55 AM by Pebuaa

# re: Yet another OneNote Powertoy

I get the same com exception as reported above

Wednesday, September 05, 2007 12:57 PM by Joe

# re: Yet another OneNote Powertoy

Sorry for the crash.  Are you trying to make a subpage in a section group?

John

Wednesday, September 05, 2007 2:58 PM by JohnGuin

# re: Yet another OneNote Powertoy

Here is the my directory structure

Research (book) > Self (Section Group) > Sys ID (section) > Nonlinear (Page).

Now I am trying to convert the last page into a subpage.

Thanks

Thursday, September 06, 2007 10:09 AM by Pebuaa

# re: Yet another OneNote Powertoy

Hmmm. Make a sub-page....A nifty add-in I thought.  So I installed it, open a notebook in one-note (2007),  select some pages,  click on the "make page(s) a sub page" menu icon,  and vola....nothing.   Nothing happens and the menu icon is disabled until close and re-open one-note

Wednesday, September 19, 2007 1:26 PM by Brad

# re: Yet another OneNote Powertoy .. disabled?

I experience the same behaviour with all powertoys I have tried to install, including Table of Contents, Favorites, Sort page: Click the button once, no action and it fades to indicate a disabled status. I verified that add-ins are enabled in Options.

Thursday, October 11, 2007 11:16 AM by Rendt

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker