[ANN] Win32::Screenshot 0.0.5

J

Jarmo Pertman

Hello!

I've release version 0.0.5 of Win32::Screenshot - Capture Screenshots on
Windows with Ruby!

= 0.0.5 2010-07-07
* Added method window_area for capturing specified area of the window
instead of full window (Jarmo Pertman)
Usage: Win32::Screenshot.window_area(title, x1, y1, x2, y2) {|width,
height, bmp|}
* Added method foreground_area for capturing area of the foreground
(Jarmo Pertman)
Usage: Win32::Screenshot.foreground_area(x1, y1, x2, y2) {|width,
height, bmp|}
* Added method desktop_area for capturing area of the visible view
(Jarmo Pertman)
Usage: Win32::Screenshot.desktop_area(x1, y1, x2, y2) {|width, height,
bmp|}
* Added method hwnd_area for capturing area of the window with specified
handle (Jarmo Pertman)
Usage: Win32::Screenshot.hwnd_area(hwnd, x1, y1, x2, y2) {|width,
height, bmp|}

== Internal changes
* Removed usage of ShowWindow with parameter SW_SHOW when trying to
bring window to front due it's behaviour of resizing window if it was
maximized (Jarmo Pertman)
* Using FFI::Struct when searching window handle (Roger Pack)

Jarmo
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top