@DanThomas, have you looked at these posts:
Reads the main Keyboard Maestro Macros.plist directly ===>
For more information, see the wiki Searching the Forum for Answers section.