Corcules / KMlink

Streamdeck plugin to drive Keyboard Maestro
127 stars 4 forks source link

Added error checking to list script #1

Closed mushoo closed 5 years ago

mushoo commented 5 years ago

Script file now checks for auto-named Macros and Macro Groups and handles them gracefully. It'll try and name a Macro based on the name of the first action, and if there's no name for the first action it'll name it by the action type instead. All "Smart Macro Groups" are skipped (instead of just the two default ones), and "Untitled Macro Groups" (auto-named and missing the 'name' field in the KM plist) are named semi-correctly.

Do note, this is still... rather slow on my machine (264 macros across 38 groups). Takes almost exactly 60 seconds to load them all up into the list.