Help with mouse coordinates

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
rfpd
Posts: 78
Joined: 06 Jul 2009 16:19
Location: Lisbon, Portugal
Contact:

Help with mouse coordinates

#1 Post by rfpd » 14 Jul 2010 15:30

It's possibel to make one program that goes to a desire coordinates (in batch).

aseventhmindset
Posts: 8
Joined: 11 Apr 2010 20:55

Re: Help with mouse coordinates

#2 Post by aseventhmindset » 14 Jul 2010 15:46

This cannot be done in batch. AutoIT would be the solution for simulating mouse clicks at a certain screen point. It's very simple to implement a mouse click (MouseClick(x,y)).

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Help with mouse coordinates

#3 Post by aGerman » 14 Jul 2010 16:10

aseventhmindset is right. I wrote a small tool in C++, have a look at getclickxy.
Maybe you should read the entire thread. There are a lot of useful tools.

Regards
aGerman

rfpd
Posts: 78
Joined: 06 Jul 2009 16:19
Location: Lisbon, Portugal
Contact:

Re: Help with mouse coordinates

#4 Post by rfpd » 15 Jul 2010 05:07

ok thanks but can you help me make a program in visual studio that when we press a key the program make infinite loop and the loop change mouse coordinates, and then we press another key and he stop, can you help me?

aGerman
Expert
Posts: 4678
Joined: 22 Jan 2010 18:01
Location: Germany

Re: Help with mouse coordinates

#5 Post by aGerman » 15 Jul 2010 05:46

No, sorry. This is a DOS Batch Forum. Visual Studio stuff is absolutely off topic.

Regards
aGerman

rfpd
Posts: 78
Joined: 06 Jul 2009 16:19
Location: Lisbon, Portugal
Contact:

Re: Help with mouse coordinates

#6 Post by rfpd » 15 Jul 2010 07:33

ok no problem

Post Reply