A fake mouse click



Hi, All!

I've come across a problem which I've never met before. My program has to
emulate a mouse movement and a mouse click. I.e. I need something like
"mouseMoveTo(int x, y)" and "mouseClick()" that moves the cursor at (x,y)
of the screen and emulates a left click, respectively.

I tried searching for this kind of method in the RTFM but I didn't get any
results...

I'd really appreciate if someone could show me the right way of implementing
this.

PS If it makes it different, the system is Linux with KDE 3.4

--
With best regards,
Nik
.



Relevant Pages

  • Re: A fake mouse click
    ... Benoit ... > emulate a mouse movement and a mouse click. ... Prev by Date: ...
    (comp.lang.java)
  • Re: Win 2000 - TcpIp problem
    ... We are having a similar problem with WinXP Pro. ... Most of this I can emulate. ... > Some Network and Dial-Up Connections Icons May Be Missing ...
    (microsoft.public.win2000.general)
  • Re: Bug in string.find
    ... Dennis Lee Bieber wrote: ... so perhaps we should emulate it on something more modern? ...
    (comp.lang.python)
  • Re: Olympic Activities for the dear ancora people
    ... You should emulate their ... Two of the most frequent posters are people you consider to ... be friends. ... Best regards ...
    (rec.music.opera)
  • Re: Olympic Activities for the dear ancora people
    ... �You should emulate their ... �Two of the most frequent posters are people you consider to ... be friends. ... Best regards ...
    (rec.music.opera)