Automating the Keyboard Maestro Editor with AppleScript

EDIT: Never mind. Try to imagine the dumbest possible reason this might have failed to work.


This is really useful. I tried to modify it to work for “Enable/Disable” but I can’t get it to work. I put this where you have tell menu item "Rename…":
if menu item "Disable" exists then tell menu item "Disable" perform action "AXPress" end tell else if menu item "Enable" exists then tell menu item "Enable" perform action "AXPress" end tell end if

Any suggestions?