Is it possible to access the "Revision number" in Info-Properties-Statistics

Alain S. shared this question 8 days ago
Answered

Is it possible to access the "Revision number" in Info-Properties-Statistics programmatically?


Regards,

Alain

Replies (1)

photo
2

Hello Alain

Yes, it is the property Document.Properties.Version

photo
1

Thank you!

photo
1

Hello Nick,

Can you provide a code snippet (preferably in Python) to access this? It would be great. I have no idea how to do that...

photo
1

Hello Alain

I don't have an example in Python. You would need to use the Python library that connects to COM servers, and create or connect to the MindManager server.

In MindManager macros (which are already integrated with the MindManager COM server) you can use:

'#Language "WWB-COM"

Option Explicit

Sub Main

    MsgBox(CStr(ActiveDocument.Properties.Version))

End Sub

photo
Leave a Comment
 
Attach a file