properties topic macro

  • 1
  • Question
  • Updated 8 months ago
Hi friends ! I need a macro Mindjet MindManager 2018 to search and replace the name of the properties topic. How to make this macro ? Here is my code.
*****************
Option Explicit
Dim FD
Dim RD

Sub Main
FD = InputBox("Введиите искомое свойство")
    Dim cProperty As CustomProperty
If cProperty.CustomPropertyName= FD Then
    RD = InputBox("Заменить на")
cProperty.CustomPropertyName= RD
End If 
End Sub
Photo of ara05ru

ara05ru

  • 6 Posts
  • 0 Reply Likes

Posted 8 months ago

  • 1
Photo of Ary Velstra, Expert Trainer

Ary Velstra, Expert Trainer

  • 1298 Posts
  • 197 Reply Likes
Wy do you need a macro?
Can you show us an example of the map and the topic property that you need to change the name?
Photo of ara05ru

ara05ru

  • 6 Posts
  • 0 Reply Likes
Photo of ara05ru

ara05ru

  • 6 Posts
  • 0 Reply Likes
to find and change all "prop1" to "prop12"
Photo of Ary Velstra, Expert Trainer

Ary Velstra, Expert Trainer

  • 1298 Posts
  • 197 Reply Likes
There is already a property renamer function in MAP by Olympic Limited
"
Property Renamer

When you work with Properties in your Maps it is very easy to build quite extensive and interactive Map content using Formulas. Topic Properties are referenced by the MindManager API using the Property Name. This is also used in the calculations used by Topic Formulas. This means that if you rename a Property after it has been utilized elsewhere in the Map, sometimes multiple times, the Topic Formulas can become broken and fail to work. The solution is to find all the occurrences of the Property in the Map and update the name which can be time-consuming on large Maps.

The Property Renamer function lets you safely rename an existing Topic Property while maintaining the integrity of any Topic Formulas where the Property has been used. All of this can be done in one sweeping process which takes mere seconds to complete, saving you precious time when making these changes. The Property Renamer function can be found on the Topic Properties group of the MAP ribbon menu."

That saves you hours of costly self development and you can be pretty sure it will also work on future MindManager releases. So well worth the small investment.

See details overhere There are lots of other extra's in there ;-)

You could at least use the free trial to check if I am correct

Photo of ara05ru

ara05ru

  • 6 Posts
  • 0 Reply Likes
I need a macro. please help !
Photo of Ary Velstra, Expert Trainer

Ary Velstra, Expert Trainer

  • 1298 Posts
  • 197 Reply Likes
Why loose your creativity in macro-programming something that is already available?
I think your time and intelligence is worth a lot more.