Is it possible to make the macro automatically was started when the file was opened?

  • 1
  • Question
  • Updated 8 months ago
Scenario:
- open the file;
- the macro starts;

Question.
Is it possible to make the macro automatically
  was started when the file was opened?
Photo of Ivan

Ivan

  • 41 Posts
  • 0 Reply Likes

Posted 8 months ago

  • 1
Photo of Nick Duffill

Nick Duffill, Champion

  • 505 Posts
  • 168 Reply Likes
Not with macros alone. An add-in can register for the document-open event and respond, but a macro is not loaded and waiting for the event unless the user has already launched it. So an add-in is necessary for this.

A long time ago, MindManager defined a macro that would run at application start-up but I have not checked for years whether this is still supported.

You can use macros with the Generic Smart Map Part. This defines a set of macros that are called when a smart map part is deployed in the map, refreshed or converted to a regular topic.
Photo of Ivan

Ivan

  • 41 Posts
  • 0 Reply Likes
Thank you.
I will study.

1. Could you advise the material on "Smart Map Part"?
A better example of the files.
It is difficult to understand immediately by theory ...
Somehow complicated ...

2. Could you please touch on this issue
How to set up the map to be compact?