gglick
August 29, 2018, 7:12am
13
The ENV_PATH variable I mentioned is one specific to KM. I included the link in that post, but here it is more prominently:
https://wiki.keyboardmaestro.com/action/Execute_a_Shell_Script#Path_in_Shell_Scripts
As for the error, that can admittedly be frustrating when things don't go right in KM, but fortunately, @JMichaelTX has written a macro designed to let us read the whole error message in a much easier format than searching for it in the log file:
Use Case
Your KM Macro just terminated due to an error
You need to quickly get the error details, and edit the Macro to fix it
KM native reporting of Macro errors via the macOS Notification Center is very poor
(sorry @peternlewis , but it's true)
The below Macro attempts to provide better error reporting
However, because KM does NOT use a consistent format for logging errors, this Macro may not find all errors
If your Macro has an error that the Macro does NOT find, please post details in a r…