Onetastic Inspector for Developers
October 29, 2024
With a new update Onetastic brings developers a new tool to help understand OneNote's object model and write macros easier. Onetastic Inspector can be started from anywhere in OneNote and allows inspecting the properties and structure of various objects. You can right click on a notebook, section, page, or an object inside a page and choose the Inspect option to load the inspector and look at the properties of the object:
Within the Inspector you can easily browse all your notebooks in OneNote and find the detailed object hierarchy and property information. You can change the current selection in OneNote and quickly refresh the Inspector to reflect your selected object.
Inspector will display the expression to refer to the selected object, and you can easily copy it if you want to refer to it in your macros.
Show OneNote XML
Another update for macro developers is the updated OneNote XML browser to see the same object hierarchy in OneNote's own XML format. This feature was named Show Page XML in the previous versions and would only display the current page's contents. It is updated to display any object in OneNote. You can now see section and page hierarchy and modify them as you like:
This feature is also updated with a search function to quickly find what you are looking for as well as a Word Wrap option.
Other Feature Updates
This update also continues the following improvements:
- You can now select the bullet and numbering options for Custom Styles.
- You can choose to display Custom Styles in Home tab vs a separate tab from the ribbon itself. This option previously was only available in Onetastic display settings
- Batch File Import now supports removing file extension from page titles as well as adding created date of the file that is being imported. Find these options under Title Options in Batch File Import settings.
Comments