Move/Resize All Visible Windows

Hello, trying to use BTT for window management. I'd like to move and resize ALL visible windows 80% width/height and centered. The Custom Move / Resize Window action works great for one window, but how can I apply this to all visible windows?

Got close by writing some javascript that loops through windows, activates them, and then runs a named action that does the 80% centered window to the active window. The problem is if you have multiple window instances with the same name open (such as multiple Chrome windows) this approach doesn't get them all. It also doesn't leave me with the original active window activated which would be ideal.

Is there a way to run the custom move/resize action across all visible windows? Thank you!