How do I move my mouse curser on screen?
I went through most of stack overflow and some YouTube tutorials but didn't fins anything
10 Replies
whats your objective? moving mouse cursor is sometimes not the best move, you can instead simulate mouse input with libraries in the background(so you can still use your computer)
i wanna be able to move the curser and press stuff for example being able to press one buton on my keyboard which would trigger the code and move my curser to start chome or somthing
maybe use something like auto hotkey?
but i wanna be able to code it
i saw somone do it with python
you could find a nuget package that simulates input
or do it yourself via the win32 api
id rather go with this option
i read a bit about it
i did that here https://github.com/cyberrex5/ActionRepeater/blob/main/src/ActionRepeater.Core/Input/InputSimulator.cs
GitHub
ActionRepeater/InputSimulator.cs at main · cyberrex5/ActionRepeater
Simulate mouse and keyboard input on windows. Contribute to cyberrex5/ActionRepeater development by creating an account on GitHub.
was kind of a pain in the ass to get all key inputs working properly
ill take a look at it thanks a lot for the help
np