Welcome to MSDN Blogs Sign in | Join | Help

Merge Pages in OneNote Powertoy

 

Time for another useful powertoy!  This addin, written by our own Jeff Cardon, merges selected pages together.  It is about as simple as it sounds: select the pages you want to merge and click the merge toolbar button.

 

Some notes: there is a popup dialog which explains Undo is not supported.  You can disable this dialog if you want, and I recommend disabling it as soon as you get comfortable with the implications that Undo is not supported.  There is another warning if you merge more than 10 pages at a time.  Again, you can disable this warning.

 

The reason I suggest disabling those warning are this is another managed code addin, so we cannot control focus of the confirmation dialogs.  If you click the button and it looks like nothing happened, look "behind" OneNote to see the dialog.  It's easier just to live without the dialogs when you merge pages.

 

When installing, as usual, exit OneNote, run setup.exe and choose to install for all users.

 

While I would love to claim this addin was created as a direct result of customer wishes, the truth is that Jeff created  after getting pointed in this direction by Dan Escapa (http://blogs.msdn.com/descapa). Dan had gotten tired of sending all his bits of data to Side Notes a few pieces at a time and wanted a better way of collecting all the data from different pages together.  This is the "better way" :) .

 

As an aside, should these tools be called addins or powertoys?  Is there a difference in anyone's mind? 

 

Let me know what you think!

 

Link to setup files (updated March 5, 2009)- the setup files are added as an attachment to this blog article below my signature.

 

 

(New as of Jan 8, 2009):  You can get the source code at http://blogs.msdn.com/johnguin/archive/2009/01/08/source-code-for-the-onenote-merge-pages-powertoy-and-a-tedious-test-task.aspx

 

Questions, comments, concerns and criticisms are always welcome,

John

Published Thursday, August 16, 2007 7:35 AM by JohnGuin
Attachment(s): merge_pages_setup.zip

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: Merge Pages in OneNote Powertoy

What affect does this powertoy have on pages with audio notes? Will it mess anything up?

Thursday, August 16, 2007 11:30 AM by Ken

# re: Merge Pages in OneNote Powertoy

Not to be snarky, but it should work great.  We tested embedded files before we released this.

That said, I suggest testing a couple of pages first.  Mkae copies (since Undo is not supported) and merge them together.  Make sure it works for you just in case.

JOhn

Thursday, August 16, 2007 11:50 AM by JohnGuin

# re: Merge Pages in OneNote Powertoy

I tried it, but when I select 2 pages and click, the icon gets grayed, and nothing happens...

The graying remains for the reminder of the ON session.

Friday, August 17, 2007 6:05 AM by alceste

# re: Merge Pages in OneNote Powertoy

Which icon?  The toolbar icon (or the embedded audio file icon)?

And is the "are you sure you want to do this" dialog hiding behind the OneNote window?

Lastly, how big are the audio files?  Minutes or hours long?

John

Friday, August 17, 2007 10:25 AM by John Guin

# Merge Those Pages in OneNote - New PowerToy

Picked this up from a post over on John Guin's site. It's a tool that will allow you to merge

Friday, August 17, 2007 10:29 AM by Pocket.Net - Mobile 2.0

# re: Merge Pages in OneNote Powertoy

Thank you, Thank you, Thank you!

This fixes one of my biggest issues with ON, and is a real help.

BTW: I prefer "add-in" or "extension"

Powertoy doesn't convey how helpful these files can be.

Friday, August 17, 2007 10:44 AM by jberger

# Add-ins or PowerToys

As far as the add-in or PowerToy designation, I guess that to me, if it saves more than five clicks or so, or if it makes me go, "that's amazing!" it's a PowerToy. Otherwise, it's just an add-in.

SBT

Friday, August 17, 2007 10:46 AM by SB Treloar

# re: Merge Pages in OneNote Powertoy

Can something like this be done for Journal files?

Friday, August 17, 2007 12:08 PM by robphy

# Merge Pages Powertoy

It looks like John has posted a powertoy from Jeff Cardon, one of the OneNote Testers, which takes selected

Friday, August 17, 2007 2:02 PM by Daniel Escapa's OneNote Blog

# Merge Pages Powertoy

It looks like John has posted a powertoy from Jeff Cardon, one of the OneNote Testers, which takes selected

Friday, August 17, 2007 2:36 PM by Noticias externas

# re: Merge Pages in OneNote Powertoy

"I tried it, but when I select 2 pages and click, the icon gets grayed, and nothing happens...

The graying remains for the reminder of the ON session.

Friday, August 17, 2007 6:05 AM by alceste"

I have the same problem, using OneNote 2007

Friday, August 17, 2007 4:34 PM by coolkid

# re: Merge Pages in OneNote Powertoy

Alceste and coolkid,

Are you using Vista?  If so, can you uninstall/reinstall by running setup.exe and verify you selected "Install for all users" during setup?

John

Friday, August 17, 2007 7:06 PM by John

# re: Merge Pages in OneNote Powertoy

I use windows XP and ON-2007,

However, I tried again, and this time the message "are you sure..." appeared, in front of ON, I unchecked the check box, OKed, and all went as advertised.

It is conceivable the message window was hidden, but I rather doubt it, since I open and close many windows, and would have noticed it, I think.

Saturday, August 18, 2007 2:06 PM by alceste

# re: Merge Pages in OneNote Powertoy

Tried, does not work for me. I run office 2003 with OneNote 2007. Does it matter?

Saturday, August 18, 2007 2:50 PM by coolkid

# re: Merge Pages in OneNote Powertoy

Office 2003 does not matter as long as you have OneNote 2007.  

Standard troubleshooting:

Uninstall.

Exit OneNote (and use task manager to verify OneNote is not running)

reinstall, selecting to install for all users

restart OneNote

look in tools \options \ addins to make sure the Merge Pages addin is listed.

Sorry for the problems,

John Guin

Saturday, August 18, 2007 6:01 PM by JohnGuin

# re: Merge Pages in OneNote Powertoy

During the merge process, I get an error pop-up "COM Surrogate, needs to shut down". Maybe because I installed it on an international version of ON 2007?

Sunday, August 19, 2007 2:58 PM by Theo

# re: Merge Pages in OneNote Powertoy

Hello Theo,

While there is nothing (other than the UI) which is specific to English, we only test these powertoys in English.

What types of pages are you trying to merge?

John

Sunday, August 19, 2007 3:33 PM by JohnGuin

# re: Merge Pages in OneNote Powertoy

Hi John, I tried to merge unfiled pages. This powertoy seemed to me a great help in organising my unfiled items.

Theo

Sunday, August 19, 2007 4:00 PM by Theo

# re: Merge Pages in OneNote Powertoy

Hello Theo,

I tried my unfiled notes and it worked well.  I can't think of why it would crash - can you email me the section with 2 of the pages that cause the crash?

No guarantees, but I can take a look.

What language and Windows version do you have?

John Guin at hotmail

Sunday, August 19, 2007 9:28 PM by JohnGuin

# re: Merge Pages in OneNote Powertoy

Aha - Unfiled notes in the scenario above were marked "read only."  ON can't delete or create pages, so the addin failed.  Jeff updated the addin and it is available via the link above.

Thanks for the reports, and sorry for the poor experience,

John

Monday, August 20, 2007 3:38 PM by JohnGuin

# re: Merge Pages in OneNote Powertoy

still not work for me. the version of OneNote 2007 is 12.0.4518.1014. Does it matter?

Tuesday, August 21, 2007 9:47 AM by coolkid

# re: Merge Pages in OneNote Powertoy

4518.1014 is fine.

What errors are you getting?  The grayed out icon?

Are you an admin on your machine?  Did you run setup as an admin?  If not, try uninstalling/reinstalling and running setup (as the directions above state) one more time.

You may also want to download the new version - it has the fix for the crash when trying to merge pages in a read only folder.

John

Tuesday, August 21, 2007 3:46 PM by JohnGuin

# re: Merge Pages in OneNote Powertoy

yes I am running as an admin on my machine. I tried the latest build and it does not work.

Friday, August 24, 2007 1:19 AM by coolkid

# re: Merge Pages in OneNote Powertoy

What errors are you getting?

John

Saturday, August 25, 2007 9:55 AM by JohnGuin

# re: Merge Pages in OneNote Powertoy

Hi, John.

It's not working for me. I've restarted, installed and uninstalled many times, but the only file that shows up in the 'Make Subpage' folder is the icon bmp. From what Z understand, there's supposed to be a dll file, too?

Any help would be appreciated!

Thursday, December 20, 2007 6:27 PM by Annie

# re: Merge Pages in OneNote Powertoy

Hello Annie,

Jeff does his addins a bit differently and installs the DLL to \windows\assembly.

The basic troubleshooting steps are where I recommend starting.

1. Uninstall, reboot.

2. Check for windows updates (the .net framework may need updating).

3. Run setup again (and be sure to run setup.exe - not the MSI)

 a.  right click the file and select "run as admin"

 b.  during setup, ensure the box for "install for all users" is checked

4. Then start OneNote.

The last thing to check is to make sure OneNote is not running during setup.  Just open task manager and make sure onenote.exe is not running.

Sorry for all the problems,

John

Thursday, December 20, 2007 9:53 PM by JohnGuin

# re: Merge Pages in OneNote Powertoy

Grayed Out icon was solved in a different powertoy by going to Add/Delete programs

Select OneNote | Change

Choose to turn on .net capability

Do NOT twitch, and delete the OneNote program !

Sunday, March 16, 2008 1:36 PM by Joe O'Laughlin

# re: Merge Pages in OneNote Powertoy

Joe - thanks so much - this worked for me with the grey buttons issue. I've been dying to make these powertoys work, so thanks.  Keep up the good work everyone!  Gotta love the powertoys.

Thursday, April 10, 2008 12:27 PM by MPA

# re: Merge Pages in OneNote Powertoy

sorry to be dense. How do I select pages?

Tuesday, May 13, 2008 7:15 PM by doug carmichael

# re: Merge Pages in OneNote Powertoy

Hold down the CONTROL key while clicking the page tabs you want to select.  FWIW, the first selected page will show differently than the rest.

Thanks,

John

Tuesday, May 13, 2008 8:49 PM by JohnGuin

# can't find merge pages icon after install

i have msi capability. i exited ON07, installed merge pages powertoy. and then restarted ON07. i've uninstalled and reinstalled. i've tried setup.exe and setup.msi. it shows in the tools>options>addins. i've looked through customize toolbars.

where is the merge pages icon?

Monday, October 13, 2008 3:32 PM by jeffrey

# re: can't find merge pages icon after install

never mind. i found the icon, on the left edge of the toolbar, that wasn't displayed.

seems to work great. thanks for writing it.

Monday, October 13, 2008 3:59 PM by jeffrey

# re: Merge Pages in OneNote Powertoy

Thanks John,

I came across your blog via a OneNote discussion group, where I had requested help for the same feature as your MERGE Powertoy. It is working fine here. Please accept my thanks for the utility.

Just some images in some of pages got shrunk in size to nearly quarter of their original size after merger of pages to one page. The images that got shrunk were mostly screen clippings.

Although it did not hurt me much. however you may want to look into it and make your utility more robust.

With Regards

S Bans

Friday, January 02, 2009 2:50 AM by S Bans

# re: Merge Pages in OneNote Powertoy

John:

Firstly, thanks for the extension (my preference for what to call it 8^).

Secondly, I was wondering if you considered releasing the source code. One of the things I would like to enhance is the title of the resulting OneNote page... right now it defaults to "Merged Pages", and I would prefer to have it default to the first page selected with the Ctrl-click as typically all successive pages all appendages to it.

Thanks again for your contribution.

Mark Jordan

Tuesday, January 06, 2009 9:17 AM by Mark Jordan

# Source code for the OneNote Merge Pages powertoy and a tedious test task

Reader Mark Jordan made a request last week for the source code for the Merge Pages powertoy at http://blogs.msdn.com/johnguin/archive/2007/08/16/merge-pages-in-onenote-powertoy.aspx

Thursday, January 08, 2009 10:54 AM by OneNote Testing

# re: Merge Pages in OneNote Powertoy

Newbie question: how do you disable the warnings from the merge add-in?

Thanks and keep up the good work!

Tuesday, January 13, 2009 10:43 PM by Milver

# re: Merge Pages in OneNote Powertoy

Hello Milver,

When you merge pages, you should get a checkbox at the lower left of the warning that says to show the dialog in the future or not.  Uncheck that box and you will not get the undo warning any more.

There is a second warning you can get if you merge more than 10 pages.  You can change the threshold for that by changing the registry key at HKEY_CURRENT_USER\Software\Microsoft\Office\OneNoteMergePages   DisplayMergeWarningFloor from 10 to some other higher value.  

Hope this helps,

John

Wednesday, January 14, 2009 10:42 PM by John

# re: Merge Pages in OneNote Powertoy

John,

Thanks for the quick reply. The problem is that the form that contains the warning label appears half size cutting almost all the buttons. I can't resize the form (or is it a messagebox?) and I can only navigate the buttons with TAB and assume the left is OK and the right one is CANCEL but I can't see the checkbox.

Thanks,

Milver

Wednesday, January 14, 2009 11:47 PM by Milver

# re: Merge Pages in OneNote Powertoy

Oh, OK.  There are 2 (easy) options.  You can run regedit and look in the location I mentioned to change the 2 keys which control which prompts are shown from 1 to 0.  If you are not comfortable with that, I can make you a registry file which does it for you - just send me an email.  The link for that is at the top right of the page.

John

Thursday, January 15, 2009 10:59 AM by JohnGuin

# re: Merge Pages in OneNote Powertoy

John,

That worked out. Thanks!!!

Milver

Sunday, January 18, 2009 7:11 PM by Milver

# re: Merge Pages in OneNote Powertoy

WhoHoo - big props for this tool.  It cut down a tremendous workload for me!

Thanks so much for creating this!

Thursday, March 05, 2009 3:50 PM by Kris Klinkhammer

# Yet another OneNote Powertoy

A great part of working in OneNote test is the people on our team. Take Jeff Cardon ( again ), for instance.

Thursday, March 12, 2009 7:12 PM by OneNote Testing

# re: Merge Pages in OneNote Powertoy

The link for the setup file doesn't work. I was able to download the source file however, can someone tell me how to compile it? My email is drt@drtshannon.com. Thanks

Peace

Friday, March 13, 2009 7:30 PM by Tim

# re: Merge Pages in OneNote Powertoy

Do you get an error downloading the file merge_pages_setup.zip?  I just tried it and it worked fine.

Friday, March 13, 2009 9:34 PM by John

# re: Merge Pages in OneNote Powertoy

i downloaded the setup files from above onto my desktop, rt click to install and I get this error, i run Vista w/ON '07...ON is not running(as per task mgr), error is below, any fixes??  Thanks

Unable to locate application file 'Setup.msi'.

See the setup log file located at 'C:\Users\ER\AppData\Local\Temp\VSD7510.tmp\install.log' for more information.

Monday, March 30, 2009 4:22 PM by Jon

# re: Merge Pages in OneNote Powertoy

The merge seems to work very well, but I'm noticing that, after the merge, the first page is normal, white background, while the second page is dark grey background.  I can still manipulate the ink on the dark grey page, but wondering how to avoid that background color, if possible.  thanks for the great tool!

Monday, May 11, 2009 5:02 PM by Carl Willis-ford

# re: Merge Pages in OneNote Powertoy

Hi Carl,

Based on seeing a gray background, it sounds like the page is set to be a physical size of some sort (like 8 1/2 x 11) instead of the automatic size of infinite in all directions.

Can you check that?  File | Page Setup.

John

Thursday, May 14, 2009 10:45 AM by JohnGuin

# re: Merge Pages in OneNote Powertoy

John - that was it!  I'm using an ACECAD Digimemo to capture my handwritten notes (it has the capability to import into OneNote as ink), and apparently it sets the page size to Letter.

Thanks much for the assist.

carl

Friday, May 15, 2009 8:15 AM by Carl Willis-Ford

# re: Merge Pages in OneNote Powertoy

Carl - glad to help.  I even wrote a powertoy a while ago to help with this (for a different pen, but will work with yours as well) - http://blogs.msdn.com/johnguin/archive/2009/03/09/a-powertoy-to-make-using-adapx-pens-for-onenote-a-little-easier-for-me.aspx

Friday, May 15, 2009 9:42 AM by John

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker