Automatic formatting for leaf nodes

  • 2
  • Question
  • Updated 3 years ago
Is there any way to have the leaf nodes formated in a way I chose? As far as I could see if you create a template, beyond the last level available in the template everything keeps the same formatting. What I would like to have is a different formatting just for the nodes that have no children. Is that possible? Is there any way to script this in Python or anything like this? By the way, where can I read about the format of the mmap file. I would like to write a Python script that would traverse the file and automatically change the font and the background for these leaf nodes. Thanks in advance for any help
Cristian
Photo of Last Unicorn

Last Unicorn

  • 32 Posts
  • 0 Reply Likes

Posted 4 years ago

  • 2
Photo of aHa!Coaching

aHa!Coaching, Champion

  • 1192 Posts
  • 115 Reply Likes
It depends if you're running Mindjet on Windows/Mac or Mindjet in your web browser (not sure what Mindjet Maps is at the moment). There's a scripting option for Windows based on VBScript but, the Mac and webbased scripting are limited/non existing. The file format is described at http://devzone.mindjet.com, you should register for a developer account there.
Photo of Last Unicorn

Last Unicorn

  • 32 Posts
  • 0 Reply Likes
Hi Mathies
I can not call myself a developer yet, just an amateur with very rudimentary Python skills. However having the format of the file it should not be a big problem to write the script

I tried to join that forum but all I get is a login screen, no way to join it.
I am using the latest version of MM (a trial) on Windows. I could not locate the script that you are talking about. Probably it is available to members only

thanks
Uni
(Edited)
Photo of aHa!Coaching

aHa!Coaching, Champion

  • 1192 Posts
  • 115 Reply Likes
I'm sorry Uni, it looks like the Mindjet developer resources have been neglected by Mindjet for a while and the systems need some updating?

There is some more information about the file format (and the object model) on this excellent page on the ActivityOwnerWiki: http://wiki.activityowner.com/?title=Build_a_MindManager_Macro It was written for Mindjet 7, but technically it should all still work :)

One little note: instead of clicking on 'Tools - Macro - Macro Editor' as described on that page, click on 'View - Macros - Macro Editor'
(Edited)
Photo of Last Unicorn

Last Unicorn

  • 32 Posts
  • 0 Reply Likes
Thanks a lot Mathieu
Very interesting link. I will try to digest the info available there and get back if I need more help. The developer group has very interesting topics! Thanks again
Uni
Photo of Last Unicorn

Last Unicorn

  • 32 Posts
  • 0 Reply Likes
Here you go:

Sub Main
Dim t As Topic
For Each t In ActiveDocument.Range(mmRangeAllTopics)
    If t.AllSubTopics.Count=0 Then
        t.FillColor.SetARGB(0,0,0,9)
        t.Font.Size = 10
        t.Font.Bold=False

    End If
Next

End Sub

This answer had been waiting for me for 2 years 

https://groups.yahoo.com/neo/groups/MindManagerDev/conversations/messages/664


Photo of Alex Gooding

Alex Gooding, Champion

  • 827 Posts
  • 208 Reply Likes

As a simple alternative you could save a blank sub-topic with the appropriate formatting as a map part.