mouse Questions

2

Solved

I am attempting to automate some mouse movement to a certain position in Python 3. For this, I am using a module pyclicker, specifically the HumanClickerclass from the module. It uses an algorithm ...
Chauncey asked 31/1, 2020 at 15:7

3

Solved

How do I need to adjust my vimrc to make vertical scrolling smoother? I want to achieve that one iteration of the mouse wheel just scrolls one instead of three lines.
Reikoreilly asked 8/1, 2014 at 14:5

10

I want to design a horizontal page. When I use mouse wheel it just scrolls content vertically. How can I use horizontal scroll by mouse wheel? Does CSS support this property? For example any thing...
Cyperaceous asked 28/8, 2013 at 7:0

9

Solved

I have this code in which I simply display an image using OpenCV: import numpy as np import cv2 class LoadImage: def loadImage(self): self.img=cv2.imread('photo.png') cv2.imshow('Test',sel...
Shamrock asked 4/2, 2015 at 16:55

12

Solved

How do I hide the mouse pointer under X11? I would like to use the built in libraries in order to do this and not something like SDL (SDL_ShowCursor(0)) or glut (glutSetCursor(GLUT_CURSOR_NONE)). A...
Undersexed asked 19/3, 2009 at 0:25

6

Solved

First, I need to say that I'm aware there is some confusion as to what button numbering scheme convention is used for these "Browser back" and "Browser forward" mouse buttons depending on whether y...
Tympanitis asked 27/3, 2020 at 23:56

5

Solved

I know that Linux gives out a 9-bit two's complement data out of the /dev/input/mice. I also know that you can get that data via /dev/hidraw0 where hidraw is your USB device giving out raw data fro...
Lactase asked 31/1, 2011 at 20:38

3

Solved

I am trying to make a 2D game with Java and Swing, and the window refreshes too slow. But if I move the mouse or press keys, the window refreshes as fast as it should! Here is a GIF showing how th...
Revelationist asked 15/9, 2019 at 21:27

3

Solved

A common question, but I still need help. I'm trying to get and store the mouse coordinates when someone clicks within the canvas. my HTML <canvas id="puppyCanvas" width="500" height="500" st...
Westlund asked 2/4, 2017 at 18:40

8

Solved

What's the best way to track the mouse speed with plain JS/JQuery? I'd like to track how fast a user moves the mouse in all directions (up/down/left/right).
Tunicle asked 20/6, 2011 at 20:25

4

I've seen examples where you can change it to preset images that your operating system has; example: $('body').css('cursor', 'wait'); But how about my own /img/my_image.png? Thanks for any he...
Ascension asked 2/6, 2012 at 22:37

4

Solved

On my website, which is a one-page JS site using Sammy.js and jQuery, when I middle-click a link with a mouse, the link opens in a new tab. But when I command-click on a Mac, it doesn't. This happe...
Calcimine asked 18/5, 2012 at 22:11

15

I want a function that tells me which element the mouse cursor is over. So, for example, if the user's mouse is over this textarea (with id wmd-input), calling window.which_element_is_the_mouse_on(...
Validate asked 11/1, 2012 at 1:32

5

Solved

I have found that this works PART of the time by inheriting the Windows Forms mouse point and subtracting out the height and width of my window to set the left and top (since my window's size is fi...
Megavolt asked 4/11, 2013 at 13:42

2

Left-handed users may have swapped the mouse buttons on Windows by setting the primary button to the right mouse button instead of the left. What Python code will let me detect this setting? There ...
Ingather asked 19/3, 2023 at 16:26

6

Solved

I need to do some macros and I wanna know what is the most recommended way to do it. So, I need to write somethings and click some places with it and I need to emulate the TAB key to.
Aiello asked 7/5, 2010 at 21:41

19

Solved

How does one control the mouse cursor in Python, i.e. move it to certain position and click, under Windows?
Franctireur asked 25/7, 2009 at 7:15

6

This code works to click on a specific location on the screen but how do you click at the cursor's coordinates? tell application "System Events" click at {10, 10} end tell
Sagittate asked 4/8, 2016 at 11:57

1

Solved

I try this code: Human-like mouse movements via Selenium but trying to figure out how to integrate it in a real life scraper to follow with my mouse with different DOM elements: #!/usr/bin/python #...

6

Solved

I'm repeating a question from another forum, as I'd like the same answer. From MSDN's SwapMouseButton Function. How do I pass boolean data from command prompt through rundll32.exe to a boolean ...
Lili asked 24/1, 2011 at 4:42

2

Solved

I have few images in a grid, then when i click a button, a "open file dialog" comes up.(of course, over the images) Microsoft.Win32.OpenFileDialog dlgOpenFiles = new Microsoft.Win32.OpenFileDialog...
Transversal asked 9/6, 2010 at 10:38

6

Solved

can anyone think of a good way to ignore the single click that comes with a double-click in Java ? I'm looking to have different behaviors for each such that: single-click paints crosshairs on ...
Supernumerary asked 14/2, 2009 at 0:6

2

Solved

I am currently running Linux Mint 17.2 with Cinnamon. I have 2 monitors. When I set monitors to be adjacent in Cinnamon settings, mouse freely moves through border shared between monitors but cann...
Dyewood asked 4/12, 2015 at 16:9

3

Solved

I'm using this code below but it doesn't work like I want it and I have no idea how to actually make it. What I want it to do is get the mouse coordinates onClick, but this happens after the user...
Jongjongleur asked 31/7, 2015 at 4:3

19

I want to be able to detect when the mouse leaves the window so I can stop events from firing while the user's mouse is elsewhere. Any ideas of how to do this?
Kalamazoo asked 28/5, 2009 at 21:28

© 2022 - 2024 — McMap. All rights reserved.