Hi all!
Is there any way to select several objects in OneNote programmatically? Can I, for example, via Win32 API or MSAA/UIAutomation select several objects in current OneNote window? (each object is a table
cell with its own objectID)
In my case - the section is in read only mode (the section file marked with attribute "read only"). So I can not update the page xml.
I need to raise mouse event in the area of object (table cell), for example. Or something else. For this I need to get the object coordinates.
For example if I create an OneNote link from one page to another page object - the link will be looks like "onenote://J:/....". We can find the "onenote:" protocol handler in regedit. The handler is "C:\Program Files\Microsoft Office 15\Root\Office15\ONENOTE.EXE"
/hyperlink "%1".
So If I run onenote.exe with parameter "/hyperlink [the link]" - OneNote will open the page and the object will be selected!
So I want something like this but for several objects. For example to call method of OneNote.exe or DLL library to select page objects.
Thanks.