Skip to content

Java console app which takes screenshots of one separate window. Captured window can be hidden or overlapped by other windows.

License

Notifications You must be signed in to change notification settings

LogicBig/capture

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

capture (hidden windows to a file)

Quick start

capture.jar is a Windows only java console app which allows you to take screenshots of entire desktop or a particular window and save it to a file. App provides functionality to capture separate window even if it is fully hidden or overlapped by other windows.

It uses WinAPI over JNA and support regular expression syntax in window caption name option.

You can build this utility by yourself or download latest release from 'releases' section.

Compiling

If you want to build all by youself you will need to install a JDK and maven. Then run the following command:

mvn package

Usage

All options:

*-c,   --caption         Window caption name(s), regex expression (matched = captured). Required parameter
 -p,   --path            Path for screenshots. Default: .
 -e,   --extension       Screenshot file extension. Default: png
 -w,   --wait            Seconds to wait before taking a screenshot. Default: 5
 -h,   --help            Show this help message.

Examples:

Captures all windows with captions started with "Skype":

java -jar capture.jar -c "Skype.*"                       

Capture desktop with jpg file extension:

java -jar capture.jar -c "Program Manager" -e "jpg"    

About

Java console app which takes screenshots of one separate window. Captured window can be hidden or overlapped by other windows.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%