vitalsource-printer icon indicating copy to clipboard operation
vitalsource-printer copied to clipboard

Can't screenshot long pages

Open mrwm opened this issue 5 years ago • 7 comments

The program screenshots the first half of the page, then moves onto the next without scrolling down, this leaves out the bottom half of the books unrecorded.

mrwm avatar Jul 05 '19 06:07 mrwm

Please make sure you had the right coordinates for the page, you can make a quick check by calculating the size of page using coordinates.

manhtai avatar Jul 05 '19 08:07 manhtai

I'm using the coordinates provided on the screen, but there's more on the page that needs to be scrolled down to see. If I scroll down, the coordinates on the screen will stay the same regardless of page position

mrwm avatar Jul 05 '19 18:07 mrwm

Oh I see, you have to fit the page into your screen first, my script doesn’t scroll page for now, it just captures what it sees in the coordinates.

manhtai avatar Jul 07 '19 04:07 manhtai

Im not sure if vitalsource did it on purpose or not but there are cases where there are over 20 pages to scroll down to in 1 page.

vortex91 avatar Sep 02 '19 22:09 vortex91

Adding a vote for multi-page use-case.

srustamo avatar Nov 30 '19 09:11 srustamo

@vortex91 I modified the code to scroll down (with pushing SPACE). Have a look at this gist.

srustamo avatar Nov 30 '19 11:11 srustamo

Hello, I was able to get it sort of running but it resulted in the first iteration of the for loop to press enter once then go directly to the next page. Was anyone able to fix this or have something else available?

EngineNeo avatar Sep 13 '22 01:09 EngineNeo