Tablet PC – A Student's Perspective

One Note, Note Taking and Powertoys

Archive for November, 2007

Powertoy: Double Hyperlink

Posted by anirudhsaraf on November 17, 2007

Double Hyperlink – What is it? It creates a new page, with the user specified title, pastes a hyperlink to the new page in the current page, and navigates to the new page where it puts the hyperlink from the current page :).


The default values i.e if you just click OK are

New Page Title = Blank

Hyperlink Text(new page) = Title of Current Page

Hyperlink Text(current page) = Extra Info

Known Issue :- I cannot figure out why OneNote starts the powertoy minimized. It’s a random thing, sometimes its starts on top and sometimes it is minimized. I have tried every trick I could think of to make it come up in center of OneNote. If anyone knows how to achieve this (C#) please do let me know, since I have been breaking my head over it 😦

Also not a single person, assuming there was one, left a comment saying whether the treeview control worked. If you download this powertoy I would appreciate some feedback.

Download Double Hyperlink Powertoy < Disabled :- Fixing Bugs – My computer crashed 😦 will be a while before I put this one back >

UPDATE : Powertoy Released.

Thanks to onenotepowertoys poll for the idea.

Posted in One Note powertoys, OneNote | Tagged: , , | 14 Comments »

TreeView : Beta

Posted by anirudhsaraf on November 4, 2007

Updated Post : TreeView

Here is a Beta version of TreeView. I guess labeling it Beta absolves me of all the errors and exceptions the program might throw. I am realizing a very stripped down version of TreeView I envisioned since I feel that the navigation alone is very useful, specially in full screen mode. I have ton’s of features I am working to implement into the TreeView control. However the pressure to keep up with classwork is getting to me and therefore this must be put on the back burner for a week or so till I get done with my midterms. In the meantime however, I would appreciate if people gave suggestions as to what features they would like implemented into the TreeView Control.

Some of the Features I might implement :

1) Drag and drop functionality to reorder pages.

2) Copy hyperlink to page without having to navigate to the page ( thereby making it easy to hyperlink the current page to some other pages.)

3)Create / Delete page.

4) Dynamic update of TreeView ( No. It doesn’t have it in this version unfortunately. Therefore if you create a page it will NOT show up in the TreeView unless you restart the control.)

5) There is no validation checks for the change notebook name and sections. Also you might get an error due to malformed XML once in a while when you try to change the page title. I am still trying to figure out why it does this.

Feedbacks would be appreciated :).


The Program is being taken down due to  the numerous uninstall issues people had. Unfortunately, due to various other commitments I am unable to continue development further at the moment ; I might or might not fix it and release a newer version.

Changing Color :

So this was completely unintentional, but it seems that due to the choice of color I made, users have the option of changing the background color on the control. The color it uses is the desktop color set under the display properties. To get there right click on the desktop -> goto properties -> Display tab -> color on the bottom right corner. So if you are getting some background which makes it impossible to read the text, go ahead and change the desktop color to change the background color on the control :).

Issues with Vista

So some people(2 has been brought to my attention) seem to be having issues with it under Vista. Did anybody get it to work under Vista? Under XP? I have only heard from people who didn’t get it to work, what about hearing from some people who did get it to work ?

Control doesn’t stay on top

Also while using it I noticed that the window stays on top only when you launch it the first time. If you close it and relaunch it, it minimizes to the taskbar. You then have to quit onenote, kill the process and then restart TreeView for it to stay on top and not mimimize. I have no idea why it does this, so if anybody has any clue as to why this might be happening let me know. I am using form.topmost = true in a timer event to make it stay on top.

if (GetWindowText(ihandler, sBuff, cChars) > 0)
String activeWindow = sBuff.ToString();
if (activeWindow.Contains(“Microsoft Office OneNote”) == true)
mainForm.TopMost = true;


Also if you like the control and would like to help its development do consider donating whatever amount you can :). Below is the link for Paypal donation.

Posted in One Note powertoys | Tagged: , , , | 41 Comments »