Speed Up" Trigger Macro by Name"?

With a zillion KBM macros in my library, I find that I use trigger macro by name more and more often. It consists of a simple one action macro.

The only problem is the variable and sometimes up to 5 seconds long it takes for the Trigger Macro by Name search box to appear.

I was wondering if there is any way to speed up the action and make the process more consistent, or could I get the same result by using an AppleScript or shell script?

Thanks in advance for your time and help.

A zillion?? :sunglasses:

  • How many in actual fact?
  • On what version of macOS?
  • With what version of Keyboard Maestro?
  • On what hardware with how much memory?
1 Like

5,130 macros
Monterey 12.6.5
KM 10.1
Studio M1

thank you


No idea. Without knowing the cause of the slow down, I wouldn't know where to start.

You would need to use the Activity Monitor to get a sample of the Keyboard Maestro Engine during the period that you call up Trigger Macro by Name and have the slow performance.

A Studio M1 is a stupendously fast Mac, so the only reasonable cause would be some sort of caching that isn't done.

In my macros, I have around 500 active macros that might be displayed, but the Trigger Macro by Name appears virtually instantly, so even with ten times as many active macros it would be a fraction of a second, nowhere near 5 seconds.


Hello @peternlewis,

The KM engine log below is not useful.

The delay was about 5 seconds when I typed the keyboard shortcut below.

Sometimes it is very fast and other times very slow (5 sec). Tends to be slow and fast if I repeat the shortcut right after it was slow.

How would I use the activity monitor to troubleshoot this issue which is a problem because it slows down my workflow.

Thank you.

KM Engine Log Entry:

2023-05-15 08:22:39 Execute macro “Trigger Macro by Name (Set to Enabled Macros) KBM Search” from trigger The Hot Key ⌃⌥⇧T is pressed

You would need to launch the Activity Monitor, start sampling the Keyboard Maestro Engine, and then trigger the Trigger Macro by Name macro. And it would have to be slow on that occasion. And then the 10 second monitoring of the Keyboard Maestro Engine might tell us something.