Is there a way to hide task information or tags in MindManager 2020 with a single button?

krsto e. shared this question 58 days ago
Answered

I understand that the default method requires multiple clicks through the View menu to hide either task info or tags. Additionally, does MindManager 2020 support customizations that might allow creating a one-button solution for this, possibly through macros or add-ins?


thank you.

Best Answer
photo

A macro could potentially do this with

Document.Filter.SetViewFilter(mmViewFilterFlags.mmViewFilterFlagHideTaskInformation)

This has been available since MindManager 5, so should work in MindManager 20.

Replies (1)

photo
2

I don't know from which version this works. Right mouse button > Branch information >

c4473699b8635bec3d4751bb114db994

photo
1

thx but in mm2020 there is nothing above option.

but anyway, thx for reply.

8ea88228f7a16c2397094446f043abfb

photo
2

A macro could potentially do this with

Document.Filter.SetViewFilter(mmViewFilterFlags.mmViewFilterFlagHideTaskInformation)

This has been available since MindManager 5, so should work in MindManager 20.

photo
1

thank you, you saved my day!


the code is here:

github


i finished within 5 minutes this time.

as i am using cursor IDE + git for versioning.

in cursor IDE, i asked what api documents it want, then i simply tag it and it verified all the syntax/implementations.


i dont know how to export chats in cursor yet, however i copied most of it's replies into the README,

so others could know how easy it is now and how hallucinations(fake APIs) could now be deal with.


thanks

photo
1

i also wanna make one to toggle tag/textlabels, however cursor say the api say cant...



Looking at the MmViewFilterFlags enumeration from the documentation you shared earlier, there's an important note in the "Remarks" section: This enumeration does not include several of the items available in the View > Show/Hide menu, the display of which cannot be controlled through the ViewFilter." data-section-index="4" style="border-radius: 4px; margin: 2px 0px !important; padding: 4px; position: relative; scroll-margin-bottom: 40px; scroll-margin-top: 40px;">


> This enumeration does not include several of the items available in the View > Show/Hide menu, the display of which cannot be controlled through the ViewFilter. " data-section-index="5" style="border-radius: 4px; margin: 2px 0px !important; padding: 4px; position: relative; scroll-margin-bottom: 40px; scroll-margin-top: 40px;">


> Items with no enumeration value and no direct control are:" data-section-index="6" style="border-radius: 4px; margin: 2px 0px !important; padding: 4px; position: relative; scroll-margin-bottom: 40px; scroll-margin-top: 40px;">


> Items with no enumeration value and no direct control are: - **Tags and Tag Group Names**" data-section-index="7" style="border-radius: 4px; margin: 2px 0px !important; padding: 4px; position: relative; scroll-margin-bottom: 40px; scroll-margin-top: 40px;">


> - Tags and Tag Group Names - Slides icons" data-section-index="8" style="border-radius: 4px; margin: 2px 0px !important; padding: 4px; position: relative; scroll-margin-bottom: 40px; scroll-margin-top: 40px;">


> - Slides icons - Formula icons" data-section-index="9" style="border-radius: 4px; margin: 2px 0px !important; padding: 4px; position: relative; scroll-margin-bottom: 40px; scroll-margin-top: 40px;">


> - Formula icons - Alerts" data-section-index="10" style="border-radius: 4px; margin: 2px 0px !important; padding: 4px; position: relative; scroll-margin-bottom: 40px; scroll-margin-top: 40px;">


> - Alerts - Attached files" data-section-index="11" style="border-radius: 4px; margin: 2px 0px !important; padding: 4px; position: relative; scroll-margin-bottom: 40px; scroll-margin-top: 40px;">


> - Attached files - Properties" data-section-index="12" style="border-radius: 4px; margin: 2px 0px !important; padding: 4px; position: relative; scroll-margin-bottom: 40px; scroll-margin-top: 40px;">


> - Properties - Background objects" data-section-index="13" style="border-radius: 4px; margin: 2px 0px !important; padding: 4px; position: relative; scroll-margin-bottom: 40px; scroll-margin-top: 40px;">


> - Background objects


Unfortunately, this means we cannot create a similar macro to toggle tags using the ViewFilter approach because tag visibility is not exposed through the API's view filter flags.


You have a few options:


  • Use the UI automation approach (not recommended, less reliable)

  • Check if there's a different API method specifically for tags

  • Submit a feature request to MindManager to add tag visibility control to the API

  • Would you like me to:


  • Look for alternative API methods for tag control?

  • Or help you submit a feature request to MindManager?

  • MindManager_TextLabel.md

    File


    MindManager_TextLabels.md

    File


    it seems textlabel is indeep tag. see what can we do?


    Looking at the documentation for TextLabel/TextLabels objects, we need more information about their methods and properties. However, if TextLabels represent tags, we might be able to work with them.


    Let me check a few things:


  • Are these TextLabels part of the Topic object?

  • Do they have visibility properties?

  • Can we access them through the Document object?

  • Could you share the MindManager_TextLabel_members.html or MindManager_TextLabels_members.html documentation? This would show us:


  • What methods are available

  • If there's a visibility property we can toggle

  • How to properly access and modify them

  • From what I see so far, TextLabels appear to be a collection, which suggests we might be able to work with them, but I need to see the available methods and properties to determine if we can toggle their visibility programmatically.


    Would you please share the members documentation for either TextLabel or TextLabels?


    MindManager_TextLabel.md

    File


    MindManager_TextLabels.md

    File


    MindManager_TextLabel_members....

    File


    MindManager_TextLabels_members...

    File


    here?


    After reviewing the TextLabel and TextLabels documentation, I can see that while we can manipulate tags (TextLabels), there's no direct visibility control method. The available methods are:


  • TextLabel object methods:

  • Delete

  • Properties: GroupId, IsValid, Name

  • TextLabels collection methods:

  • AddTextLabel

  • RemoveTextLabel

  • RemoveAll

  • ContainsTextLabel

  • GetTextLabel

  • etc.

  • Unfortunately, this confirms what the earlier documentation stated - tag visibility cannot be controlled through the API. The TextLabels API is designed for:


  • Adding/removing tags

  • Managing tag content

  • Organizing tags in groups

  • But there's no visibility toggle functionality exposed through the API. This means we cannot create a macro similar to the task info toggle for tags.


    The only potential workarounds would be:


  • UI automation (not recommended)

  • Temporarily removing and re-adding tags (not recommended, would lose tag data)

  • Submit a feature request to MindManager to add tag visibility control to the API

  • Would you like to explore any of these alternatives?

    photo
    2

    These gaps in the API are known issues - hence the remark in the documentation. You could add a suggestion to this forum so that it is more visible to product management.

    photo
    Leave a Comment
     
    Attach a file