search for: screen_capture

Displaying 2 results from an estimated 2 matches for "screen_capture".

2005 Apr 27
0
Screen capture
...the file to save. If its not fully qualified the current directory is used # * active_window - boolean - if true, the whole screen is captured, if false, just the active window is captured # * save_as_bmp - boolean - if true saves the file as a bitmap, saves it as a jpeg otherwise def screen_capture(filename , active_window_only=false, save_as_bmp=false) ie.screen_capture(''c:\\pics\\screen_1.jpg) # does a copy of the whole screen ie.screen_capture(''c:\\pics\\screen_1.jpg) # does a copy of the whole screen ie.screen_capture(''c:\\pics\\screen_1.jpg , true )...
2005 Apr 21
9
Screen capture, save to file
Is there anything in the utils to capture a screen ( or maybe just a window) and save to a file. I have this, but I have no idea where it came from, but it gives a corrupted image Paul # -*- ruby -*- # screen capture -- # This script runs with a Ruby/DL which is included in ruby-1.7. require ''dl/import'' module ScreenCapture extend DL::Importable dlload