screenshooter

What's that
aplsimple | Login

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

Options

The result of the modification is screenshooter.tcl that:

The options are saved to ~/.config/screenshooter.conf.

Usage

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 are also executables:

The executables run as simply as:

 screenshooter
 screenshooter.exe

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:

Widget

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:

Links

License

MIT.