How to programmatically update an action in another macro?

See:

for an example of creating a macro.

You can edit actions in a macro by assigning the xml using AppleScript. So it would not be very difficult to do what you want to do.

2 Likes