I'm trying to create a macro in Keyboard Maestro (KM) that enables or disables actions based on the wireless network my MacBook is connected to. However, I'm running into an issue where KM doesn't seem to recognize the network names correctly.
I've set a variable to my home network's SSID, but even when I'm connected to this network, KM still shows the condition as "(currently false)". Has anyone else experienced this issue or have any ideas on how to resolve it?
Since you uploaded only a photo, and not the macro itself (for privacy reasons you can change the name of the network if you upload it) we can't check for certain possible error conditions such as whether your %WirelessNetwork% token is followed by any spaces or newlines. In this case that could be the cause of your problem, (the same thing happened to someone else last week) but only you can check that because only you have your macro available to edit.
It worked, I turned on location and enabled permissions for KM and KM Engine, thank you! However, now the first action is showing as "false". I apologize if this is a basic question, but I'm still quite new to using Keyboard Maestro.
Where are you setting the variable LastWirelessNetwork? From what I can see, I don't think you need that condition at all. It looks like you just need:
This is my first time trying to use variables in Keyboard Maestro. I saw a similar approach mentioned in another post on this forum. I will try your solution, much simpler it seems Thanks so much for the help