Take a Shot! - yet another screenshot utility...

Paint programs, vector editors, 3d modelers, animation editors, etc.
Message
Author
User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#106 Post by greengeek »

Ok then - I'm going to ask a different question: Once you have used TAS to capture a region of the screen - would it be possible to add a "save as" button instead of having to select "Edit" and go via mtpaint?

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#107 Post by MochiMoppel »

greengeek wrote:Once you have used TAS to capture a region of the screen - would it be possible to add a "save as" button instead of having to select "Edit" and go via mtpaint?
What for? It is already saved to the directory and filename you specified in the main dialog. You don't have to select Edit, you can simply exit

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#108 Post by greengeek »

Aaaargh! Make it stop!!

In my defense all I can say is my brain has turned to jelly. No other explanation.
:evil:

User avatar
Moat
Posts: 955
Joined: Tue 16 Jul 2013, 06:04
Location: Mid-mitten

#109 Post by Moat »

greengeek wrote:Aaaargh! Make it stop!!
:lol: :lol:

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#110 Post by Geoffrey »

greengeek you have been demoted to noob :lol:
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#111 Post by MochiMoppel »

                                                                       Image

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#112 Post by musher0 »

Ok, I'll put my finger between the tree and the bark... being fully aware
that it is quite dangerous to get on the bad side of MochiMoppei... :lol:

Can anybody prove -- I mean with lots of evidence, a proper how-to and
explanations!
-- that the region function works in TAS? It never worked
for me. Which is why I suggested to greengeek that he use mtpaint for that.

Mind you, TAS remains a superior utility even with a limp region function.

Awaiting my own demotion!

TIA! ;) (I'm a masochist at heart...) :lol:
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#113 Post by MochiMoppel »

Screenshot was taken with region function. It works as per instructions.

Click it says, not drag (which is what you would do in other applications). The "release mouse button" might be confusing. Don't know how to click without releasing the mouse button. Probably SFR's desperate attempt to keep users from dragging.
Attachments
tas_region.png
(12.31 KiB) Downloaded 492 times

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#114 Post by musher0 »

And how would one specify a part of the screen as a "region" without
dragging the mouse around it, if I may, kind sir?
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#115 Post by MochiMoppel »

I'll be happy to translate SFR's instruction for you, but your are the professional translator here, not me. If you feel that the text is too demanding you should get in contact with SFR and work on a better version. Or ask greengeek, he finally got it. An explanation in proper and native English might earn him a promotion :lol:

belham2
Posts: 1715
Joined: Mon 15 Aug 2016, 22:47

#116 Post by belham2 »

MochiMoppel wrote:Screenshot was taken with region function. It works as per instructions.

Click it says, not drag (which is what you would do in other applications). The "release mouse button" might be confusing. Don't know how to click without releasing the mouse button. Probably SFR's desperate attempt to keep users from dragging.

Gaawwwd dam#! I feel like a blithering idiot....all this time I thought TAS had gone into "dis-repair" and "has-been" status because it could not do a "region" shot, and thus made myself move on using PupSnap/Scrot and/or the cumbersome mtpaint workaround. But here I read this thread and I was performing the TAS region function wrong. Argh at myself.... :roll: Thank you, Musher, for asking the question, and thank you Mochi for answering. I gotta say in my defense, this business of "click top-left, then click bottom-right" I probably never would have figured out on my own----mainly because sometimes I am too stupid or stubborn to read the documentation & instructions :?

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#117 Post by musher0 »

Ah. Instructions in disguise! ;) Clever man, belham2! Thanks.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

Region...

#118 Post by SFR »

Well guys, since there's no dedicated utility for this task in practically any Puppy, I had to do it in a tricky way using 'xwininfo' and 'getcurpos' utilities, like this:

Code: Select all

xwininfo >/dev/null && getcurpos
It works, but the drawback is the unusual and unintuitive manner of selecting.
As far as I know TAS is the only shell-based screenshot application/frontend that has this functionality at all...

Anyway, in Fatdog, which comes with xrectsel installed OOTB, TAS (v1.12+) can select a region with dragging, as usual.
If anyone would like to try it, the attached is statically linked, 32bit binary, which (theoretically) should work in any x86 and x64 Puppy.
Just unpack, make executable and copy it to /usr/local/bin or similar location.

Greetings!
Attachments
xrectsel.gz
(44.4 KiB) Downloaded 431 times
Last edited by SFR on Thu 16 Feb 2017, 18:59, edited 1 time in total.
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

Re: Region...

#119 Post by mavrothal »

SFR wrote:If anyone would like to try it, the attached is statically linked, 32bit binary, which (theoretically) should work in any x86 and x64 Puppy.
I do not know about "any" but in slacko and xenial 32 and 64 bit versions works just fine.
SFR wrote:Just unpack and copy it to /usr/local/bin or similar location.
Just unpack make it executable and copy :wink:

(the static file is small but still 10+ times bigger that the dynamic one so puppy builders might consider compiling it)
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#120 Post by musher0 »

Hello all.

Here you go:
xrectsel for 32-bits,
freshly compiled from source on Slim Slacko 6 (glibc 2.17)
and
offered as a pet archive.

Enjoy!
Attachments
xrectsel-170216.pet
(5.31 KiB) Downloaded 449 times
Last edited by musher0 on Thu 16 Feb 2017, 19:01, edited 1 time in total.

User avatar
SFR
Posts: 1800
Joined: Wed 26 Oct 2011, 21:52

#121 Post by SFR »

mavrothal wrote:I do not know about "any" but in slacko and xenial 32 and 64 bit versions works just fine.
Thanks for confirmation!
Just unpack make it executable and copy :wink:
Oh yeah, corrected.
(the static file is small but still 10+ times bigger that the dynamic one so puppy builders might consider compiling it)
By all means, that would be the right way of doing it.
The static one is only for testing purposes, since it should work everywhere.

Greetings!
[color=red][size=75][O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource[/size][/color]
[b][color=green]Omnia mea mecum porto.[/color][/b]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#122 Post by musher0 »

SFR,

Your message overshadowed mine (bottom of previous page)!

I attached a xrectsel for 32-bits pet archive to it, in case it is useful.
Works fine with your TAS-1.13 (please see attached screen shot).

IHTH.
Attachments
region-select-with-xrectsel-in-TAS.jpg
(14.15 KiB) Downloaded 724 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#123 Post by Geoffrey »

xrectsel compiled in Tahr 32bit, source from git version 0.3.2
Attachments
xrectsel-0.3.2.pet
(3.51 KiB) Downloaded 599 times
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#124 Post by musher0 »

You've beat me by 1,8 Kb! :)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#125 Post by Geoffrey »

musher0 wrote:You've beat me by 1,8 Kb! :)

Code: Select all

strip --strip-unneeded xrectsel
That took mine from 30.2kB to 9.7kB :D
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

Post Reply