Propogate extents

Could anyone point me in the direction of a script that might aid in propogating extents of a grid to all views with a certain scope box.