@peternlewis, could you please add a “MacroActionType” Property to All Actions in the Scripting Model.
Currently, we have to parse the XML to get this:
<key>MacroActionType</key>
<string>PromptForUserInput</string>
This greatly complicates writing AppleScript to process the Actions of a Macro.
Here’s one great use case:
set actionList to every action in oMacro whose action type contains "script"
to return all Execute Script
actions.
Thanks.