RohesKätzchen
✅ Need help with with Input Simulator
Hello im currently writing a programm and i need to simulate the scroll wheel/middleclick button action
im using https://github.com/michaelnoonan/inputsimulator does anyone know what i have to do to cast a middle click?
29 replies
Library to send mouse and key Inputs
I have a project where i need to send Mouse and Key Inputs on a Global level from my WindowsForms application.
I need somethig like https://www.nuget.org/packages/H.InputSimulator#readme-tab, the only problem ive got with this library is that once i send the key i cant get it to be held down, a crucial point of the project is that i need to simulate the held down key for a small amount of time (for example if i hold the key down for 2 seconds i get: lllllllllllllllllllllllllllllll). Does anyone know a library that is able to do that or know a way to do that with the given library?
10 replies
✅ Global keypress Simulation?
hello, i have a project where i need to perform global mouse and key Presses, i cant seem to find a way, or Library that can do that, i need to read an array of strings, to perform the presses, and i need to be able to simulate holding down the key and mouse for an amount of time, do you know ways or Librarys to do that? i programm in VS and use windows forms c#. (something like this https://www.nuget.org/packages/H.InputSimulator#readme-tab (i cant get said extra functions to work here))
15 replies
✅ How to Update the original instance of my Main Form from another form
I have a Function i'd Like to call from my Mainform and from my second form( the function updates a listbox an my Mainform), to achieve that i created a new instance of my Mainform in my second form, but it apears to only update the listbox on the new Instance of my Main form not on the old one, how can i Update the listbox on the Original Mainform instance.
(i apollogize for my bad english)
This is the Function id Like to call that should update the listbox on my Mainform
This is the Button from my second form that i use to call my function on the first Form.
(i use windows Forms incase thats important)
8 replies
❔ ✅ Is there a Way to extend this code from this yt tutorial
so ive been following this yt tutorial https://www.youtube.com/watch?v=nTKTPqqFtrk, which shows a way to implement a keyboard hook(i think "^^) and it does work so far, but i was wondering if i could extend the code to show me which button is pressed and released rather than just givig me a messagebox with the notofication.(i apologize if my question is written poorly)
here is my code:
191 replies
❔ some sort of global keyboard and mouse detection?
hey, i want to write a programm where it is neccessary to detect save and play keyboard and mouse ,,events,, in and outside of my programm, and i dont know what to look up, it would be nice if someone could tell what to look into to achieve my goal?
11 replies