0

See figure image bellow For example, my cursor at black spot, but I want to simulate mouse click at red spot without moving my cursor to red spot. How ?

https://i.stack.imgur.com/hFs20.png

  • 1
    possible duplicate of [How can I simulate a mouse click at a certain position on the screen?](http://stackoverflow.com/questions/8272681/how-can-i-simulate-a-mouse-click-at-a-certain-position-on-the-screen) – sampathsris Sep 29 '14 at 05:17

1 Answers1

0
  1. Scan through the bitmap and find the red spot using Bitmap.GetPixel().
  2. Invoke mouse click using SendKeys
Arun Ghosh
  • 7,634
  • 1
  • 26
  • 38