Hey Peter (@peternlewis),
I just noticed that Smart Macro Groups are second class citizens when it comes to scripting.
Is it possible to provide AppleScript property and element parity between the two?
-Chris
Hey Peter (@peternlewis),
I just noticed that Smart Macro Groups are second class citizens when it comes to scripting.
Is it possible to provide AppleScript property and element parity between the two?
-Chris
Perhaps not so much 2nd class citizens as different types of object ?
What values would you like the scripting API to return for:
search string
of a group defined in the KM .plist
file ?[... xml]
of a string-based query ?Try this for example:
tell application "Keyboard Maestro"
set smartMacroGroup to smart group "Recently Imported"
set macroList to macros of smartMacroGroup
end tell
-Chris
Macros are not contained by Smart Groups. Maybe I can do it, I don't know.
Anyway, not any time soon I'm afraid.
Hey Peter,
That would be great if you can.
I know you have other fish to fry right now.
-Chris
Despite the fact that Discourse does not like me reviving a topic from 4 years ago, nevertheless, macros of smartMacroGroup
is done for the next version.
See, I was right.
Thanks Peter! This makes me wish I remember what macro I was trying to build about a year ago that returns a list of macros in a smart group...