Поделиться через


Updating the Sort Sections powertoy for OneNote 2010

Dan gave me the source code for his Sort Sections powertoy for OneNote 2007. Like all the powertoys for OneNote 2007, they will still work, but only for notebooks in 2007 format. I've seen a number of requests from folks who wanted this updated for OneNote 2010, so here it is. Down below my signature, you will see the link to download the setup file. As usual, download the ZIP file, copy the files out of it to your local drive, exit OneNote and run setup.exe. When done, you will see an Add-Ins tab when you start OneNote:

 

clip_image001

 

In this case, I have the Sort Sections addin installed as well as the Media Fine Tuner (which currently only works for 2007).  And I obviously did not update the icon.  The section sorter look and works the same as 2007 - when you click it, there is a pause while it sorts everything and then gives me this:

 

clip_image002

There was one other bug with the addin I fixed. Sections that had been part of section groups would get "pulled up" to the parent when you sorted. This should not happen any more.

 

I'll post the code for this next week since the blogging software only lets me attach one file at a time. In the meantime, you can enjoy alphabetizing your sections in 2010 format!

 

Questions, comments, concerns and criticisms always welcome,

John

sort sections 2010.zip

Comments

  • Anonymous
    August 25, 2010
    Awesome, LOVE that you guys are updating the powertoys for us.  With those and the return of the 64-bit printer functionality, there's no looking back!

  • Anonymous
    August 25, 2010
    Thanks very much John! OneNote 2010 is awesome, and the PowerToys make it just that much "awesomer" ;)

  • Anonymous
    August 26, 2010
    I was very excited to download this but it did not work for me :-( Also, I am looking for sort pages for 2010.

  • Anonymous
    August 26, 2010
    Lisa, what did not work? And sort pages is more difficult in OneNote 2010 since we support multiple page levels (indentations).  I'm open to hearing about a design for sorting pages - I haven't been able to come up with one which makes sense in all cases to me.

  • Anonymous
    August 27, 2010
    That would be interesting. Sort pages would be VERY beneficial for my org and increase adoption - hopefully someone will update that feature to OneNote 2010 soon :)

  • Anonymous
    August 28, 2010
    Thanks John, but it doesn't work for me. When I click on the sort icon nothing happens, sections are still unsorted. -Saurabh

  • Anonymous
    August 28, 2010
    How long did you wait?  It's pretty slow, and I thought about adding a progress UI but it didn't seem like it was worth the trouble.

  • Anonymous
    August 29, 2010
    I waited quite a long time, about 10-15 mins. I just created a new notebook with 5 sections and still nothing. Just so that you know sort sections add-in appears in installed OneNote legacy add-ins. I think there might be a problem with my OneNote installation. I installed Mathematics Add-in and it is only visible in Word and not in OneNote. I see a warning in COM add-in page - A runtime error occurred during loading of COM add-in. Any idea about how to debug these problems? Thanks. -Saurabh

  • Anonymous
    August 29, 2010
    Are you an admin on the machine?  Can you run OneNote as an administrator and see if that changes the behavior?

  • Anonymous
    August 29, 2010
    I am using Windows 7 with UAC enabled and yes I am using an Administrator account. I tried running OneNote as an administrator also but still sorting doesn't work and no Mathematics addin. I tried using Vista SP3 and XP Sp3 compatibility mode with no results. -Saurabh

  • Anonymous
    August 29, 2010
    Lisa, for sorting pages you might try my own attempt at a OneNote 2010 sorting utility. Download at www.donationcoder.com/.../index.php.

  • Anonymous
    September 09, 2010
    John, thanks for posting this. Very helpful. I too would like a good page sorter if someone can figure out how to make it fit all scenarios. Thanks!

  • Anonymous
    November 25, 2010
    I want to UNSORT group sections. Is it possible? Thank you

  • Anonymous
    November 26, 2010
    you may be able to type CTRL+Z to have Undo right after you sort.  Anything past that is not possible - just Drag and Drop to put them in whatever order you want.

  • Anonymous
    December 12, 2010
    Hi, I find that my sections sort automatically. I have a section group called 2010 whithin which there are 12 sections for each month. As many times as I sort them by month when I come back they resort themselves alphabetically. The file is shared via LiveMesh. I am just trying to understand why you would need the powertoy if it does it on its own. Also, would you program allow a sort by month? Thanks

  • Anonymous
    December 12, 2010
    OneNote should not change the section order automatically.  It sounds like you may be seeing some odd behavior with LiveMesh.  LiveMesh is not a supported storage location for OneNote (in short, their sync mechanism can cause problems with the OneNote sync mechanism).  You will be much better off if you move your notebooks to SkyDrive. And I'm not sure what you mean by "allow a sort by month."

  • Anonymous
    December 12, 2010
    Thank you. I will try SkyDrive though I will first have to figure out how it works. Sort by month I mean that it will sort Jan, Feb, March and so on.

  • Anonymous
    January 08, 2011
    this post is for JohnGuin and SaurabhGarg John i much appreciate the comment as to running onenote 2010 with administrator rights. lol i'm still gettin used to this windows 7 stuff but that fixed the math problem and i'm so happy. thank you very much. Saurabh, right click and go to compatibility. run as admin and you should be fine. again, thanks john. lol i don't even know what this sorting stuff is but i'm glad this page helped

  • Anonymous
    March 08, 2011
    When sorting a section group that contained section groups (which themselves had sections), the sections in the nested section groups got pulled out of the nested section and placed in the parent group.  Ouch.

  • Anonymous
    March 09, 2011
    Ugh.  Was the notebook in 2010 or 2007 format?

  • Anonymous
    March 29, 2011
    I just bought OneNote 2010 - I hate it... The sorting add-ins do not work. The icons are visible but the rest is a mystery to me.

  • Anonymous
    March 30, 2011
    Works great for me, thanks!  I hope they add this into the next version of OneNote.  I would like to see automatic sorting as an option for both pages and sections.

  • Anonymous
    April 01, 2011
    MH - sorry for the  problems.  What happens when you click the button?

  • Anonymous
    April 06, 2011
    I see you have an academic and a mathematics items on your ribbon... What are they? Math and academic tools? Where can i get those? Thank you! Oh and for updating the add in aswell :P

  • Anonymous
    April 07, 2011
    the math addin is here: www.microsoft.com/.../details.aspx I've honestly lost the link to the Academic addin, but believe it is this: www.microsoft.com/.../details.aspx

  • Anonymous
    April 08, 2011
    Thank you! And WOW, that math add in is incredibly fantastic!

  • Anonymous
    October 18, 2011
    Worked like a charm! Saves me a lot of time and aggrevation!

  • Anonymous
    December 13, 2011
    This is extremely helpful. Love OneNote more and more. Thanks!

  • Anonymous
    December 16, 2012
    So how 'bout an update for OneNote 2013? :-)

  • Anonymous
    December 20, 2012
    I really doubt I will have the time to update this.  Anyone else interested?  The code is available and I can post it here if anyone likes...

  • Anonymous
    April 30, 2013
    John, will this work with OneNote 2007 which I'm still using? The 2007 Powertoy zipfile is unavailable on Dan's page. Or can I access your 2007 version? Thanks.

  • Anonymous
    May 01, 2013
    Paul, this requires OneNote 2010.  Dan might still have the code for 2007 - I'll ask and see if he still has it.

  • Anonymous
    May 01, 2013
    Thanks, appreciate.

  • Anonymous
    September 20, 2013
    Great & Useful tool, that you John! but does this tool work for onenote 2013?

  • Anonymous
    September 20, 2013
    No, I have not updated it for 2013.  I give the code out if someone wants to update it, though - should be a small change to use the ribbon instead of the MSO toolbars.

  • Anonymous
    October 24, 2013
    Is there a tool like this to sort pages within a section?

  • Anonymous
    January 23, 2014
    I downloaded and installed this sorter. When I try to run it I get the following error message: Could not Update Hierarchy from OneNote.  Error code:  Exception from HResult:0x80042014. Thganks

  • Anonymous
    January 26, 2014
    The comment has been removed

  • Anonymous
    April 22, 2014
    I would be interested on the source to make it work with OneNote 2013 - my personal email is jr(at)dcminden,de.