Set scale of all selected viewports

Does anyone have a script to do the above?
for instance It would be super handy to be able to select 4 detail views and set the scale with one button push rather than having to select detail view,properties,change scale…etc etc

It’s on my TODO list but i am pretty busy at the mo…