Does there a pause and resume macro feature?

Hi everyone,
I’ve new being use keyboardmaestro.

just wondering are there any feature to pause a running macro and unpause? like pause and resume?
only thing it works for me now is cancel all macro, but it has to be run from the beginning.

what i want is let say i have a macro running 10 steps
and some how i would like to pause between step 5-6, and resume it continue to step 7
something like playing a song i could pause and resume.

thanks a lot everyone!

Hey Jes,

One way would be to create a variable named something like “myPause”, and assign it a value of 1

Then use a Pause Until action to pause until myPause = 0

Then use a secondary macro to set myPause to 0 when you’re ready to resume.

-Chris

hi there Chris,

First of all, thanks a lot for your reply and help
but i am just new to this, could you walk me thru there please?
i am not so sure how to make this work. I do found variable but don’t know what to do and where to put on.

let say i have a macro, running like typing a-z.
some how i would like to pause on typing h, and resume.

what should i do?

thanks a lot!!

There is a Macro Debugger that lets you pause a running macro.

Hey Jes,

I've been sick and am only just getting back to this.

Here's a simple example:

Pause Macro Test → Main Macro.kmmacros (4.1 KB)

Pause Macro Test → Resume Macro.kmmacros (1.5 KB)

-Chris

1 Like

Hi Chris, Peternlewis and everyone,

thanks a lot for you guys helping for solving my problem.

here's my modify base on Chris idea, hope i am able to help someone who is looking for the same thing as well. Pause Macro Test → pause Macro.kmmacros (5.7 KB)

Does it work if the macro is already running? What is it called? Is it an action ?

Yes, it is an action, Debugger Breakpoint This Macro. action. You can put it in your macro.

Alternatively, you can open the debugger (Start Debugging at the bottom of the Keyboard Maestro status menu), and then you can see and pause the running macro there.