Well, you could use this new macro I recently posted:
MACRO: Execute Macro by Name (Spotlight)
It handles thousands of items with no problems.
Once you install my macro, it would only take a couple of minutes to set up a copy of the macro to do what you want.
Let me know if you want to give this a try, and if you do, I’ll tell you what to do.