I try creating the meta-action package and got a an error message when running the meta-action using the Batch dialog.
In my workflow I must use Layer 0 instead of the Background layer. This is probably the source of this error.
The next approach would be to use a script with the doAction() method.
The complicated part is assigning the a folder of images to the script to do batch processing.