Screen capturing scrolling window

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Screen capturing scrolling window

Post by helmut »

For screen capturing webpages you need a capture tool that allows for screen capturing scrolling windows. Various tools support this, see topic Tool for screen capturing webpages.

I'm not sure whether this has been requested before:
XnView is a universal tool and screen capturing is just one of the many functionalities it has. Not sure how complicated and time-consuming it is, but a feature "capture scrolling window" would be a nice enhancement of XnView. Please note that capturing the whole content of the scrolling window (with scrolling horizontal and vertical) is wanted.

Are there other people who would find capturing scrolling window useful?
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Screen capturing scrolling window

Post by oops66 »

helmut wrote:...
Are there other people who would find capturing scrolling window useful?
Hello Helmut,
Yes +10 , I support this function !
XnViewMP Linux X64 - Debian - X64
User avatar
xnview
Author of XnView
Posts: 46252
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Screen capturing scrolling window

Post by xnview »

helmut wrote:For screen capturing webpages you need a capture tool that allows for screen capturing scrolling windows. Various tools support this, see topic Tool for screen capturing webpages.
Yes, but currently i don't know how to do that...
Pierre.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Screen capturing scrolling window

Post by helmut »

> Yes +10 , I support this function !
:-)

From what I can see, the trick is to capture, scroll down, and capture again until the whole scroll window is captured.

An option to incude/exclude the URL as text at the top of the captured image would be good.
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Screen capturing scrolling window

Post by XnTriq »

User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Screen capturing scrolling window

Post by helmut »

Thanks for the links to sources, XnTriq.

Ideally, an application-independent solution is used which can screen capture any scrollable window, i. e. browser applications, text editors, Word Processors, and so on. (Sure enough including/excluding the URL would not be possible, then).
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Screen capturing scrolling window

Post by XnTriq »

Yes, I strongly agree, Helmut:
XnTriq ([url=http://newsgroup.xnview.com/viewtopic.php?p=75079#p75079]Tool for screen capturing webpages[/url]) wrote:Note: Unlike “classic” screen capture software like SnagIt, HyperSnap or FSCapture, most of these programs parse the pages and rely on Internet Explorer's engine for that.
User avatar
xnview
Author of XnView
Posts: 46252
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Tool for screen capturing webpages

Post by xnview »

Capture an url is not a big problem, but capturing any window is difficult...
Pierre.
User avatar
helmut
Posts: 8704
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Tool for screen capturing webpages

Post by helmut »

xnview wrote:Capture an url is not a big problem, but capturing any window is difficult...
Let's try the difficult part... ;-)
obelisk
Posts: 479
Joined: Fri Jan 09, 2009 9:54 am

Re: Screen capturing scrolling window

Post by obelisk »

Hi
Is there any progress on this?

To scroll:

Find window containing cursor (already can do)

Find scrollbar:
1) use API to find contained controls, and see which is of type scrollbar
2) ask user to put cursor over the down arrow on scrollbar

Scroll scrollbar:
1) send scroll event directly to scrollbar
2) send click event to cursor position over the down arrow on scrollbar

Capture window and stitch together

Detect finish:
1) use API to detect scrollbar position
2) comparing captures:
2a) see that window didn't change (may be no good if window is a vertical line)
2b) see the scrollbar part as well, and see that it didn't change



Caveats:
PDFs take a long time to refresh, need a setting on how long to wait after each scroll before taking capture
Post Reply