Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hand cursor #14

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

hand cursor #14

wants to merge 1 commit into from

Conversation

kusti420
Copy link

Made the code check if the cursor is hand cursor or not. If it isnt then it will act as normal. Otherwise it wont turn on autoscroll.
Fixed the problem where process would get killed by removing "self.cursor = pyxcursor.Xcursor()" from sense method.

closes #12

@TWolczanski
Copy link
Owner

Hi,
sadly your code doesn't work on my machine. The cursor saved in hand_cursor_reference.png is the cursor that is displayed when hovering over a text, but I suppose it should be the hand cursor. As a result, when I click the middle mouse button while hovering over a hyperlink, the autoscroll is activated.

I think that forcing a user to click a button in order to calibrate and then reading the cursor image is not a very good idea. There are many problems associated with this approach. For example, if someone changes their cursor theme, the script will stop working.

@kusti420
Copy link
Author

kusti420 commented Jun 30, 2022

Hi, sadly your code doesn't work on my machine. The cursor saved in hand_cursor_reference.png is the cursor that is displayed when hovering over a text, but I suppose it should be the hand cursor. As a result, when I click the middle mouse button while hovering over a hyperlink, the autoscroll is activated.

I think that forcing a user to click a button in order to calibrate and then reading the cursor image is not a very good idea. There are many problems associated with this approach. For example, if someone changes their cursor theme, the script will stop working.

true, but sadly i havent come across a better way of solving it either

Copy link

@protechq88 protechq88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverse xyz....... Dirty_C
Master Boot Sector
Full vuln msf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improvements
3 participants