powershell - API to trigger OneNote synchronization? -
i'm looking way programatically trigger onenote synchronization onedrive (e.g. vba, powershell etc).
the case following: 1) i've done changes on laptop , sync notebook on tablet. 2) have open onenote , click sync button. i'd run cmd/bat/ps1 file sync notebook without opening onenote application. (like synchronize files via robocopy)
is possible? if - please provide details how can it? googled possible apis, haven't found relevant :(
regards, vitaliy
does tablet have full version of onenote installed? if com api, synchierarchy
method might help?
synchierarchy method description forces onenote sync specified object source file on disk. syntax hresult synchierarchy ( [in]bstr bstrhierarchyid); parameters bstrhierarchyid—the onenote id of object synced.
Comments
Post a Comment