Long time KM user with a weird problem? Check your macros!

I've been using KM for a dozen years. Recently I purchased a new USB-C hub and every time I plugged it in, the wifi on my laptop would turn off. After a bit of troubleshooting, I created a quick KM macro to detect the plug in and turn the wifi back on. It works, but only after I put in a 5 second pause. Great stuff, done!

Two weeks later (today), I'm looking through the logs and notice a macro called "quit wifi when plugged into ethernet hub" is running every time I plug in a USB with LAN in the name. The next entry is my new macro which turns wifi back on. :stuck_out_tongue: Disabled all three (off/on/new) macros and now everything works as it should. The original toggle macros causing the "problem" are at least 8-9 years old at this point, and it never occurred to me they were there. I haven't plugged into that old setup in years.

Lessons:

  1. Always search/check your macros before creating a new one - avoids duplicates and conflicts.
  2. Add past you (via KM) to your troubleshooting steps for odd issues.
2 Likes

If you ever think a macro may be causing problems, start by trying the Interactive Help, and selecting Something unexpected is happening.

Also open the Macro Debugger, then you can visually see macros as they execute.

2 Likes