Unique tags/page numbers in Onenote

J

John Kitchin

I want to generate unique tags or page numbers in Onenote. I want to use
Onenote as a scientific research notebook, but I need to be able to
systematically label samples and programs with a unique label that is
findable in Onenote. For instance, I might name a sample JRK1-23a, where JRK1
corresponds to the notebook, 23 is page 23 in that notebook and "a" means
sample a on that page.

I don't want to do this manually, but would prefer a template so that
everytime I make a new page it automatically has a new page number, and a
little button that can be used to generate a unique sample number based on
the page I am on.

any ideas?
 
I

Ilya Koulchin

John said:
I want to generate unique tags or page numbers in Onenote. I want to use
Onenote as a scientific research notebook, but I need to be able to
systematically label samples and programs with a unique label that is
findable in Onenote. For instance, I might name a sample JRK1-23a, where JRK1
corresponds to the notebook, 23 is page 23 in that notebook and "a" means
sample a on that page.

I don't want to do this manually, but would prefer a template so that
everytime I make a new page it automatically has a new page number, and a
little button that can be used to generate a unique sample number based on
the page I am on.

There isn't a builtin way to do this, but it might be possible to write
a plugin. If you or someone in your lab knows some programming, look up
the OneNote API reference. The basic idea might be to write a plugin
that listens for the page navigate event and assigns a number to the
page if it doesn't already have one. You could then have a toolbar
button that labels the selected line with the unique ID.

Feel free to post here if you have any additional questions about the API.

Ilya
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top