The screenshooter is a Tcl/Tk small utility allowing to make screenshots with a grid window covering a target spot of the screen.
This is a bit modified code made by Johann Oberdorfer:
A Screenshot Widget implemented with TclOO
The result of the modification is screenshooter.tcl that:
The options are saved to ~/.config/screenshooter.conf.
Runs with the command:
tclsh screenshooter.tcl
The Img and treectrl packages have to be installed to run it. In Debian Linux the packages are titled libtk-img and tktreectrl.
There is also an executable screenshooter for Linux . Pitifully, Windows' screenshooter.exe doesn't properly detect the screen resolution.
The executable runs as:
screenshooter
To change the screenshooter's position, just grab it with the mouse, then drag and drop it.
To change the screenshooter's size, grab its bottom or right side, then drag and drop it.
To make a screenshot:
In the popup menu, change options of the screenshooter.
To make several screenshots at once, set "Keep on Top" option on.
To close the screenshooter:
The screenshooter package can be used in Tcl/Tk code to make the screenshooter widget.
The appropriate code may look like this:
package require screenshooter # ... # call the widget if {[info exists ::widshot]} { $::widshot display } else { set ::widshot [screenshooter::screenshot .win.sshooter \ -background LightYellow -foreground Green] }
where:
MIT.