Turn each

Hi all

I'm working on a script and final step is missing, I just want to know transform every the JavaScript function code, or at least I want to create a code can do a shortcut (Alt + Ctrl + Shift + D)

Object > transform > transform each Reflect X and the position of the Center

image.png

7.png

is this possible?

Thank you very much