-
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make it easy for dev to write custom command #1584
Comments
After struggling to get the code to build for a while, I may have found some answers here after posting this request |
@mudnug glad you found the help. What are you looking to write? |
I'll reopen it. May have been too twitchy here :-) |
I was looking to write something I thought was pretty niche and would essentially allow me to hide or show page titles. That feature is not an option for the graph API, So it has to be written on the desktop. I never did workout how I would call custom Powershell scripts from OneMore, but it appeared that the API available to Powershell did not have the feature I needed. |
OneMore doesn't use the Graph APIs. It uses COM Interop wrapper provided with OneNote Desktop. But the COM wrapper is quite thin, basically only letting you read and write pages projected as XML. The majority of code in OneMore is all about modifying that XML. There is no way to "hide" a page title, that I'm aware of anyway. You can remove a page title, but wouldn't be able to undelete it without saving that information somewhere to be restored. The XML schema is described here https://github.com/stevencohn/OneMore/blob/main/Reference/0336.OneNoteApplication_2013.xsd |
Problem to Solve
It would be nice if this project were easy to customize because I'm finding that I need to write my own command
New Feature/Solution
Documentation
Alternative Solutions
A type of add in or extension ability that let me write C sharp code and execute it.
Additional Context
I'm trying to automate tasks that otherwise are going to consume a lot of time.
There may already be something related to this but searching for onemore plugin yields results only to the main project and not https://github.com/stevencohn/OneMore/tree/main/Plugins or any documentation.
The text was updated successfully, but these errors were encountered: