General TC > Programming & Scripting - Unofficial
Creating a "windowshot" instead of a screenshot
Rich:
This is a modified version of screenshot.sh that will produce a png of the window you click on. It depends on xwininfo
to run so you need to install xorg-7.(5 or 6)-bin.tcz only.
Rich:
I forgot to mention, if you click on the desktop, it will create a screenshot.
tinypoodle:
Excellent! :D
One observation: the aterm from which command is executed must not overlap the window clicked on, or it would end up being included in the windowshot.
Rich:
Hi tinypoodle
That is correct. The "picture" will be of whatever is visible on the screen inside the coordinates of that particular
window.
tinypoodle:
Not being Rich but just assuming you were replying to my post...
Also, I found that areas of windows outside screen borders will be painted gray.
Navigation
[0] Message Index
[#] Next page
Go to full version