Windows screenshots

Allows listing MS Windows' windows, setting their size, giving focus, and take screenshots.


Updated 26 Jul 2013

View License

This constitutes a set of functions that allow one to take screenshots and perform some auxiliary tasks on windows.

On some Windows versions, it successfully takes screenshots of windows even when not visible.

Includes functions to:
- retrieve titles, size, position and HWNDs of system's windows

- set the size of a particular window

- put a window visible

- take a screenshot of a window

The code is implemented in c, and requires a working "mex environment".
This was tested with VC++2005 Pro. only.

Cite As

Frequency Domain (2023). Windows screenshots (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Polynomials in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes