Getting the Status of a Macro

Every language seems impenetrable at the start. Learn by doing, and I assure you, it gets easier.

To know what commands are available for a particular (scriptable) application, refer to my response here:

plus @ccstone's:

His method for accessing an AppleScript dictionary is simplest, so go with that. But I reference my post also because it gives a little bit of an explanation about what an Applescript dictionary is; and it also tells you about the Library window, which—once an application's dictionary has been accessed in Script Editor once—-becomes the route through which you access its dictionary in the future (you don't have to keep dragging the application file to the dock icon each and every time).

Here's a screenshot of the pertinent bit of the Keyboard Maestro AppleScript dictionary that gave me a helping hand:

Firstly, it tells me there's an object called a macro group, and this contains other objects called macros (pretty easy to discern what those are). Secondly, it tells me that every macro group object has a property called enabled that is a boolean (true/false), and can be both read (get enabled of...) and set (set enabled of...), since read-only properties (those that cannot be set to something else) have r/o next to them.

Though looking at this now, I see a property called disabled on this Mac that I've never noticed before, and has my interested piqued. I think I'll experiment with that a little later and see what that's all about.