The FULL guide to making your own Bots/Macros...PART 2

09/26/2008 14:00 dondale8#16
Hey Thx alot for the guild ..i'm work on it..
But can AutoIt work in background ...?
09/27/2008 02:55 Hiyoal#17
Yes AutoIt can work in the background :p
09/27/2008 13:04 dondale8#18
Thx alot ~:Hiyoal:~ ... U had that point in ur guide...
10/13/2008 04:54 Ethan G#19
hey hiyoal is there a program that will tell you the mouse coordinates?? i cant figure out how to get "MouseGetPos" to work for my spell bot....
10/13/2008 08:50 Hiyoal#20
To get "MouseGetPos" working, you need to have something which runs like this:

Quote:
Originally Posted by ~:Hiyoal:~
$result=MouseGetPos()
Msgbox(0,"Position X:Y","The position of your mouse on the screen is: X: "&$result[0]&" || Y: "&$result[1])
$result being the variable to get the mouse's position as an array.
$result[0] being the first array of $result giving you the X: Coordinate
$result[1] being the second array of $result giving you the X: Coordinate

~:Hiyoal:~ :)
01/29/2009 12:39 yourmum69#21
hey hiyoal, im new to auto it and im wondering if you could help me with soemthing. I juse want to start off small, i try to make my mouse click near the bottom corner so that my guy could keep moving down. I used a mouseclick. When i run it, it seems like it doesnt click at all.
01/30/2009 02:34 Hiyoal#22
Script?!
01/30/2009 10:35 yourmum69#23
WinWaitActive("[Conquer2.0]")
While 1
MouseClick("left",743,531,1)
WEnd
01/30/2009 16:18 Hiyoal#24
I have found problems with the title "[Conquer2.0]"

Try:
"[Conquer2.0"

Hiyoal :)
01/31/2009 23:51 yourmum69#25
hey, i tried what you said. And the same things is happening. Doesnt seem to work when i click on the Conquer2.0 window.
02/10/2009 21:58 ahmed_montasser2002#26
sup, tyvm ... , what are the numbers in purple in the Mouse Click part ?
02/13/2009 07:27 Hiyoal#27
Thank you.

I just made them in purple...thats all?!

And please do not Quote a whole topic which is as big as mine. Rather take a part you are quoting and write a response.

Quote #removed.

Hiyoal
02/14/2009 07:24 yourmum69#28
so you can't help me?
02/14/2009 09:37 Hiyoal#29
Are those coordinates for the Conquer window screen or the whole screen?

You may want to look up MouseCoordMode to check whats happening.

Otherwise, please upload your script in a post so that I can take a look.

Hiyoal
11/30/2010 22:41 zap_xlib#30
I don`t think AutoIt works in the background. You need to activate the current window and then perform a task...