X = os.environ["KMVAR_searchTerm"] stops finding the Keyboard Maestro variable

In another thread you contributed to, this was suggested:

which looks a bit different to what you're saying is now no longer working. Maybe that's the answer? I know nothing about using python together with KM so excuse me if I'm on the wrong track - just trying to be helpful!

1 Like