Center script/action
Hello everyone! I have a picture of different shapes like this, the purpose is to create games for preschool kids.

My goal is for my students to take shapes that bear their name, then cut them out and name the shapes. 
However, the process of inserting text also takes quite a bit of time. First, I put the text on the shape, then used the magic wand to select the area of the shape below and used the align tool. I keep repeating that process with each text and shape layer.
The problem is, there are too many students to do this and I can't just paste the name, select the area, and center each one. (I have a bit of OCD so I was assigned this job.)
Does someone have a faster solution? Such as an action or script that automatically selects the area outside the text while also being inside the shape?
Thank you everyone for help!
