System beep when triggering a macro

I've downloaded the macro Mute_Unmute Safari Tab from here and loaded it into KM assigned a hot key, but when I press hot key I just get the system beep. If U click the run button it works. Thinking I might see an error I looked in the log, No errors but I did see this.

2025-02-03 16:04:01 Old engine details remains a running process Running Engine Details/1067

Anybody have an idea of why this is happening?

Thanks

I have searched the forum and learned that it means only that a process with, in this case, ID 1067 is running.

As for the beeping, again a forum search provides discussions, but this might be the best tip to start from:

Beeps usually occur when a keystroke is being passed to an app that doesn't recognize that key. You didn't say which hotkey you used, and you didn't say which app was frontmost when you pressed the hotkey. And you didn't tell us if the Group that the macro is in has any requirements for activating its macros. It would be helpful if you uploaded your macro here, and it may also be helpful if you tell us about your macro group's settings. I.e, which apps the macros in the group need to be active.

3 Likes

Here's the Macro.
Mute-Unmute Safari Tab.kmmacros (5.9 KB)

That macro worked fine here. Add a "Enable Debugger" action as the first step then run the macro—does the debugger appear? If so, step through it and see where it fails.

-rob.

Your macro can be made simpler. One thing you can do to make it simpler is use this action:

image

I put Debugger Start, (Didn't see enable debugger). Hot key is Option Shift S.

It never got to the debugger, just system beep.

Try changing your shortcut key to something else, as a test—it seems there's a conflict with that shortcut, as the macro isn't even launching.

-rob.

I changed it to F19 And I'm still getting a system Beep. I also changed the macro to Airy suggestion. It works if I press the run button.

Stupid question: Is the macro group enabled?

-rob.

Yes it is.

Well, I'm stumped. Does it work in Firefox?

-rob.

Did you try using the Interactive help feature? That's designed to help with situations like this.

What is the inter active help feature.

From the menu bar, select Help then Interactive Help, and it will walk you through some troubleshooting steps.

image

See the link I provided in the first reply to your post..?

No point. I don't use Firefox.

I only suggested it because your macro group is enabled for both Safari and Firefox.

What happens if you write some very simple macro in that same group:

Display text "I ran!"

Assign it to Shift-Option-S, then disable the other macro. Does the simple one do anything?

-rob.

I will do that in a bit. Got tied up for a bit.

--Richard S Albrecht--

Chicago, IL

(872) 233-9409

Skype: HawkCode

OK now its getting weird. I place a show text and hitting the hot key ( no matter what I set that to) thee message doesn't show and still get the system beep.

I have other hot key macros that are running fine.

I decided to record what was going on in console, this is the results:

09:15:16.710750-0500 smd BTMManager.getEffectiveDisposition

09:15:16.765372-0500 smd BTMManager.getEffectiveDisposition

09:15:16.864736-0500 WillowMac SecTrustReportNetworkingAnalytics

09:15:16.961571-0500 smd BTMManager.getEffectiveDisposition

09:15:16.990689-0500 runningboardd acquireAssertionWithDescriptor

09:15:16.994563-0500 runningboardd limitationsForInstance

09:15:17.004897-0500 WillowMac SecTrustReportNetworkingAnalytics

09:15:17.026348-0500 smd BTMManager.getEffectiveDisposition

09:15:17.210700-0500 smd BTMManager.getEffectiveDisposition

09:15:17.260488-0500 smd BTMManager.getEffectiveDisposition

09:15:17.460309-0500 smd BTMManager.getEffectiveDisposition

09:15:17.511305-0500 smd BTMManager.getEffectiveDisposition

09:15:17.548788-0500 runningboardd acquireAssertionWithDescriptor

09:15:17.554917-0500 runningboardd acquireAssertionWithDescriptor

09:15:17.602303-0500 coreaudiod TCCAccessRequest() IPC

09:15:17.603423-0500 coreaudiod TCCAccessRequest() IPC

09:15:17.709866-0500 smd BTMManager.getEffectiveDisposition

09:15:17.752239-0500 smd BTMManager.getEffectiveDisposition

09:15:17.832387-0500 mds Duet: ClientContext objectForContextualKeyPath:

09:15:17.832890-0500 mds Duet: ClientContext objectForContextualKeyPath:

09:15:17.833515-0500 mds Duet: ClientContext objectForContextualKeyPath:

09:15:17.835827-0500 sandboxd request approval

09:15:17.984338-0500 runningboardd invalidateAssertionWithIdentifier

09:15:17.997867-0500 runningboardd invalidateAssertionWithIdentifier

09:15:18.422061-0500 smd BTMManager.getEffectiveDisposition

--Richard S Albrecht--

Chicago, IL

(872) 233-9409

Skype: HawkCode