Need a Macro to convert the pictures to attachments.

  • 1
  • Question
  • Updated 7 months ago
Dear friend,

Could you pls help to provide a macro scipt to finish the blow funtions?:
I have hundreds of topics in a mindmap file, and 95% of them has one picture in the Notes. 
thus, the mindmanager responses very slow and occupies much CPU efforts when i try to review the pictures of each topic.

however, i found if to insert the pictures as attachments to all of those toipcs, then the mindmap file will take minimized CPU usage. 

Could you pls help to provide a macro scipt to:
1) convert the picture of each topic( originally from screen capturing, and format maybe *.bmp) to an attachment *png to the speicific topic?

Thanks so much for the help.
michael. 
Photo of Michael

Michael

  • 4 Posts
  • 0 Reply Likes

Posted 7 months ago

  • 1
Photo of Nick Duffill

Nick Duffill, Champion

  • 512 Posts
  • 170 Reply Likes
Hello Michael
Are the pictures in the Topic Notes, or are they Topic Images?
A macro can process Topic Images, but it will be complicated to read pictures from the Topic Notes.
Photo of Michael

Michael

  • 4 Posts
  • 0 Reply Likes
Hi Nick,

Thanks so much for your quick reply.

Pls refer to the attached picture. 



Thanks
Michael
Photo of Nick Duffill

Nick Duffill, Champion

  • 512 Posts
  • 170 Reply Likes
It will be difficult to extract images from Topic Notes with a macro. As far as I know, there are no methods or properties in the Notes object that will help. You would need to parse and edit the RTF or HTML formats. Topic Notes are not exposed as a document object in the same way that a browser web page or a Word document are - they are just a block of plain text, RTF or HTML.
Photo of Michael

Michael

  • 4 Posts
  • 0 Reply Likes
hi Nick,

Thanks for the comments. 

Just wondering why the MindManager does not support to record a macro, as you can see, if right click the picture in the Topic Notes field, then "Save Image" function exist. 

#: at the very beginning, i just assume that to Save Image to a directory in harddisk with the topic name, and then attach to the same topic, the way which could be easily applied by Macro. however, according to your comments, it is unlikely to manage that..

if i cannot batch processing the pictures in the Topic Notes, could it be possible to integrate the Save Image function and the Attachment function in a single button, which can be a macro. then i can click the picture and click the button.

Thanks
M
Photo of Michael

Michael

  • 4 Posts
  • 0 Reply Likes
hi Nick,

Could you pls help to advise some books or website links for me to know more detail about the MindManager Macro codings?

Thanks
M