I've tried looking on the web for turorials on how to move my mouse cursor to a certain location and then simulate a clicking. Much like the macro programs you can download. I myself want to create my own macro, but instead of downloading a program, i'd like to do it myself for the learning experience.
Is there anyone here that could give me a fully working example in C++ (start to finish) that takes the mouse cursor and moves it to xxx, yyy coordinates and then simulate it double clicking? I learn the best when I can see an example script :( Sorry if its too much to ask, sounds relativelty simple I suppose.
Thanks, I use bloodshed c++ compiler.