Hello! I'm trying to create an "update" macro that when run will delete a certain macro group and then import a new one with almost the same name (only difference is version number tag on the macro group).
Through research it seems that an AppleScript action might be the best way to do this, but I have never used AppleScript before. I found this which works to delete a macro group of a particular name:
But since the name of the macro will be slightly different every time, I'm looking for the syntax that says the macro group name "contains" or "begins with". This is what I thought would work, but it's throwing an error:
I think I just have the syntax wrong?
Also, I'm thinking that maybe the macro ID could work too, how do I delete using the UUID?
Thank you!