Upgraded MacOS to 15.6 and KM has completely broken

Hi.

I recently updated to MacOS 15.6 and then today 15.6.1 hoping it would help with my problems (it didn't).

I had several pretty advanced macros built, all of which are now pretty much non functional. The update to MacOS has broken them, they were all working perfectly perviously.

The challenging thing is I can't pinpoint where exactly the problems lie.

Some things I have noticed as broken:

-Setting clipboard to variable does not work
-Variables are not updating accurately
-Issues with copy and paste actions, KM hangs and then then macro fails due to timeout
-Searching environmental variables using regex sometimes break, and even more weird is that if using a copy pasted series of actions using regex from one macro to a second, it completely bricks the first one.

I am pretty desparate on what to do here, I use these macros for my job and need them to perform optimally. Any help is sincerely appreciated.

Make sure to check and reset the permissions. Sometimes, you need to disable and then enable them (a macOS bug).

1 Like

Hi, thanks for suggesting this.

I have all of these enabled and have checked that Web Browser Automation and Control is working in Brave Browser as well

I suggest you disable them in System Settings and then enable them again (they may appear as "enabled" but sometimes you need to "reset" them).

Unfortunately I already tried this as well with no luck.

There is a "NUCLEAR" option: RESET PERMISSIONS:

https://wiki.keyboardmaestro.com/assistance/Accessibility_Permission_Problem

I've had to reset all Accessibility permissions a few times using the terminal command:

sudo tccutil reset Accessibility

This might not be the ideal solution, but it can sometimes help fix issues after updating macOS.

ALERT: Just be aware that the computer may FREEZE and you'll need to force a restart.

UPDATE:

It seems that the issue is actually not with Keyboard Maestro but with the software I have been using to trigger KM macros using Soundflow

When I trigger these macros via hotkeys they work with no problem.

This is the code being used, anybody have ideas? Otherwise I'll bring my questions to the soundflow forum.

You could try using the keyboardmaestro CLI Tool.

Below is what I use to trigger it with GokuRakuJoudo (KarabinerElements):

:km "'/Applications/Keyboard Maestro.app/Contents/MacOS/keyboardmaestro' \"%s\""

If you are actually passing in a macro name, try using the UUID instead to prevent potential name clashes.

But since that looks like JavaScript, I'd replace the whole lot with the JavaScript version -- you can get that from the "Or by JavaScript" item of the macro's "Or by script:" trigger:

1 Like

Solution to this issue provided in the soundflow forums:

https://forum.soundflow.org/-16058/trigger-keyboard-maestro-action-is-broken-after-macos-156