Prev: School teacher still at it learning programming language
Next: regexp help - substring of a backreference
From: Jarmo Pertman on 7 Aug 2010 08:59 Hello! I'm happy to announce that new version of Win32::Screenshot got just released! You can get it by "gem install win32screenshot"! Win32::Screenshot - Capture Screenshots on Windows with Ruby = 0.0.6 2010-08-07 * Trying to bring window to the foreground more aggressively (Roger Pack) * Added utility class Win32::Screenshot.Util with some helper methods not related directly with taking of the screenshots: - all_windows - enumerates all windows and returns their titles and window handles as an Array (Roger Pack) - window_title(hwnd) - returns title of the window for specified handle (Jarmo Pertman) - window_hwnd(title_query) - returns handle of the window for specified title (Jarmo Pertman) - dimensions_for(hwnd) - returns a width and height for a window with specified handle (Jarmo Pertman) * Removed a file 'win32screenshot.rb' which was solely used for displaying deprecation warnings for versions older than 0.0.4. Make sure than from now on all require statements require 'win32/ screenshot'! == Bug Fixes: * Fixed usages of gdi32.dll BitBlt (Roger Pack) * It was impossible to specify correctly window titles with regular expressions special characters in them (Roger Pack) Jarmo Pertman ----- IT does really matter - http://www.itreallymatters.net |