I hate it when people do this :), but you could easily script this using drawcopy on a temporary @window, and then drawsave that window