3 ms·
I know a lot of people here use Linux or dual-boot with Windows. Question: I have some automated testing software I wrote which uses user32.dll to perform mous
by y-c-o-m-b 5y ago
I know a lot of people here use Linux or dual-boot with Windows.
Question: I have some automated testing software I wrote which uses user32.dll to perform mouse clicks, so is there a way to make that work on Linux? It's the only thing holding me back from switching to Linux permanently.
- forgotmypw17 5y agoPlease take a look at a program called `keynav`. I use it for clicking things with my keyboard instead of the mouse, and it works almost flawlessly, except in VirtualBox. It's source-included, so you can figure out the method they use. https://github.com/jordansissel/keynav https://github.com/jordansissel/keynav
- y-c-o-m-b 5y agoNice i'll take a look, cheers.
- AshamedCaptain 5y agoxtest is an entire X11 extension designed exclusively for the purpose of faking user input for automated testing purposes. Just search for xtest + your favorite programming language and you are likely to find a binding. Most utilities use this behind the scenes (e.g. xdotool).