plainlab / plainprinter

Take multiple screenshots and convert them into a PDF file
GNU General Public License v3.0
51 stars 10 forks source link

Select Next button not working #25

Open hafinwala opened 10 months ago

hafinwala commented 10 months ago

Windows 11 The next button is not working. The cursor doesn't move, and the same page is printed. Based on your response to other queries, I have tried to check if it's an accessibility issue but there is no option to provide permission to the app to control the mouse.

hafinwala commented 10 months ago

Also, is there a way I can click manually on the next button, lets say every 2 seconds and the app just take the screenshots.

hafinwala commented 10 months ago

Ok, so i tried it in different app and it works but strangely it does not work in selecting the next button on VitalSource bookshelf!

manhtai commented 10 months ago

So you're saying vitalsource can somehow detect it's auto clicks and prevent it? Interesting.

LukeKvamme commented 8 months ago

Hey guys, I know it's a couple months later but maybe this will help others if they see this. I also found that the next button was not working, so I used some code from one of my personal projects to try getting the pixels for the next button instead--and it worked just fine afterward.

Comparing the coordinates, the next button (if using the button within the GUI) seems to grab / display the wrong pixels, which is weird because the mouse goes to the right spot during its execution. After plugging in the coordinates that my personal code obtained, it ended up working just fine. So to anyone who sees this, try finding the coordinates of the next button without using the GUI. The program I used uses the pyautogui.position() function from pyautogui.

If you are on a 1440x2560 (2k) monitor, the next button coordinates that worked for me are at (2433, 1386). Hope this helped.