Tailor Made Tools/Programs for You - AHK

01/04/2009 23:00 Evan Lim#91
Alexisppp12345@
use this ahk macro recorder and output the text to me, it will be much easier
(no need description)
01/05/2009 00:14 Alexisppp12345#92
I did it one time all the click except these that will be repeated 38 times.
The coordinates will be ok I hope...
At the stage that the NPC asks you and you have to select the correct answer,I choosen the correct one,but I said how you could select the correct answer,so please make it with the way I told you. If it is dificult to make it repeat those action I told in the first .txt file make it non-repeat.
But I would appreaciate it if you could make it repeating the action I told you.

I got a little confused, how it is writing the code that is why I did not correct/write excacly the coordinates I wanted. :D

Well,I will be waiting for it.And if it is good,it will be another GOD's program! :handsdown:
01/05/2009 04:20 Evan Lim#93
Alexisppp12345@
sorry for wasting ur time, i have no idea how to do the choosing option part
i can guarantee u pixel search to ocr scan words is definitely not going to work, furthermore, CO has a semi-transparent dialog environment, which makes pixel search even more unstable
so what do u want me to do about it?
Quote:
I did it one time all the click except these that will be repeated 38 times.
also, this script loop 38 times yet? if no, what exactly does the 38 loop does that u dont need to do with recording? cant u just do 38 times in the recording? why makes the script complicated, i mean i suppose when i hit run macro, the macro will do exactly the right thing
well actually if u cant find another way to fix the first problem, i cant continue
01/05/2009 12:49 Alexisppp12345#94
It is ok... If you can't select the correct answer then never mind. Thanks anyway for answering me if that could be done.
01/05/2009 14:42 _Gaara_15#95
Hey, dude, do u have the dual weapon for warriors?
Can be simple, I just need it... just the dual weapon hack. ^^

Cya and thank you. :)
01/05/2009 14:42 _Gaara_15#96
Hey, dude, do u have the dual weapon for warriors?
Can be simple, I just need it... just the dual weapon hack. ^^

Cya and thank you. :)
01/05/2009 16:52 Evan Lim#97
_Gaara_15@
as stated in first post, u have to indicate the method
01/06/2009 15:44 Alexisppp12345#98
Evan, can you make a program that will scan your screen and if it sees pink colour pixel left click on it?
Thanks
If you can post the code and the .exe file too.
01/06/2009 16:11 Evan Lim#99
Alexisppp12345@
Code:
msgbox, Ctrl+Q to Pause
x1=0
x2=1024
y1=0
y2=768
color=0xff79ff
loop
{
PixelSearch, Px, Py, x1, y1, x2, y2, %color%, 10, Fast
if ErrorLevel
{
sleep 300
}
else
{
click %Px%, %Py%
sleep 1000
}
IfWinNotActive, [C
pause
}
^q::pause
01/06/2009 19:35 Alexisppp12345#100
Thanks for the .exe file.

ops,lol I tried to compile it with AutoIt3, :D
Thanks for the program again and the code!
01/06/2009 21:43 Alexisppp12345#101
I would like to make one more program :D
I was reading AHK help to make a program that will scan a rectangle of my screen and search for an image,but I got a little confused...
Can you make one program that will scan the rectangle of my screen with coordinates:
x1=367
x2=909
y1=112
y2=226
If it scans the 1image click at 659,222
If it scans the 2image click at 410,243
If it scans the 3image click at 667,244
If it scans the 4image click at 411,223

Thanks in advance!
Post only the code.I will compile it. :)
Thanks again for teaching me and helping me with programming/programs :)
01/07/2009 00:27 Darkyy#102
Hey Evan Lim could you help me check out the co ords on my mouse :S im using ahk and im getting so damn confused. I open some AutoIt3 Spy and it shows my co'ords but i dont know how to know wich one is x1,x2,y1,y2 :\

thanks

@alex
this might help [Only registered and activated users can see links. Click Here To Register...]
01/07/2009 01:14 Alexisppp12345#103
I looked at the help,but I got a little confused...
I tried AutiIt3 Spy. It says the coordinates in x,y.
x1,y1 is at the left and up corner of the rectangle you want to scan and x2,y2 is for the right and down corner of the rectangle you want to scan. I hope that helped you.
01/07/2009 03:17 Evan Lim#104
Alexisppp12345@
for image search, use BMP 24-bit format
Code:
msgbox, Ctrl+Q to pause

loop
{
ImageSearch, FoundX, FoundY, 300 ,100, 1000, 300, *5 C:\image1.bmp
if ErrorLevel = 0
click 659,222

sleep 50

ImageSearch, FoundX, FoundY, 300 ,100, 1000, 300, *5 C:\image2.bmp
if ErrorLevel = 0
click 410,243

sleep 50

ImageSearch, FoundX, FoundY, 300 ,100, 1000, 300, *5 C:\image3.bmp
if ErrorLevel = 0
click 667,244

sleep 50

ImageSearch, FoundX, FoundY, 300 ,100, 1000, 300, *5 C:\image4.bmp
if ErrorLevel = 0
click 667,244

sleep 50
}

^q::pause
Darkyy@
[Only registered and activated users can see links. Click Here To Register...]
01/07/2009 10:18 Alexisppp12345#105
Wow! Thanks Evan! That helped me a lot!