Tuesday, July 5, 2011

ICC procedure: dump layout window snapshot

proc dump_gif { filename } {
gui_set_setting -window [gui_get_current_window -types Layout -mru] \
-setting viewshot -value ${filename}.bmp
exec convert ${filename}.bmp ${filename}.gif
file delete ${filename}.bmp
}

No comments:

Post a Comment