# Win32::Screenshot 0.0.6

**URL:** <https://www.ruby-forum.com/t/win32-screenshot-0-0-6/192876>\
**Category:** Ruby\
**Created:** [August 7, 2010, 3:00pm UTC](https://www.ruby-forum.com/t/win32-screenshot-0-0-6/192876 "2010-08-07T15:00:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![juuser](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@juuser](https://www.ruby-forum.com/u/juuser)\
**Post date:** [August 7, 2010, 3:00pm UTC](https://www.ruby-forum.com/t/win32-screenshot-0-0-6/192876/1 "2010-08-07T15:00:31Z")

</div>

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 P.)
  - window\_title(hwnd) - returns title of the window for specified  
handle (Jarmo P.)
  - window\_hwnd(title\_query) - returns handle of the window for  
specified title (Jarmo P.)
  - dimensions\_for(hwnd) - returns a width and height for a window  
with specified handle (Jarmo P.)

- 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 P.)
- It was impossible to specify correctly window titles with regular  
expressions special characters in them (Roger P.)

Jarmo P.
