Expand stroke/create outline of multiple SVG
Hello everyone, I have more than a thousand SVG icons but unfortunately all SVG are in stroke like this image below:

and this one below is what I'm looking for:

I've tried Illustrator batch action with this step: Select - All on active artboard - Object - Expand - Save.
BUT I need to confirm (click OK) each time expand windows pop-up appear, and it's take a lot of times.

Is there any script to replace this action without clicking any pop-up window?
Thanks.
