PDA

View Full Version : Woot!


Skeletron
02-13-2007, 02:15 AM
I successfully build a findrectangle. I was trying to figure this out for day. I built a calculate two.

Calculate:
Will find were the picture box is on the screen and get the first pixel and the last pixel in that picture box. It will also calculate the in between (X, Y) of the two pixels found in the picture box.

FindRectangle:
This function will search for two pixels that the "calculator" got. If it finds the first one then it will find the second. If the pixels are the exact distance apart that the "calculator" got then it will move the mouse to it. Although, if not then it will keep searching the screen in all possible ways to find it. If it searches the whole X, Y then it will exit the function returning a null value. The filter will then catch it out and force for the sub to end.

ArbiterOfChange
02-13-2007, 02:22 AM
Sounds good to me!

slytherman
02-13-2007, 02:29 AM
coolio even thought i didnt understand wat i was reading lol.

Dale
02-13-2007, 10:33 AM
Understood it all :) Dunno how the **** you figured it out though Lol. Nice one :)

Mistracid
02-13-2007, 11:12 AM
didnt get a thing you said, but it sounded complicated so well done

Legend
02-13-2007, 01:11 PM
Umm.. I dont talk the language of advanced programming, although i hope to soon.. :) But it sounds very complicated so congrats on whatever you did :)

~Legend

roby_chillz
02-13-2007, 01:31 PM
congrats for whatever u achieved, dunno much abt this :(

Nub Pwner
02-13-2007, 08:05 PM
good job i guess...

rBen
02-13-2007, 08:14 PM
What formulas you use for the between (X, Y)?

SmarterChild
02-13-2007, 08:31 PM
Very interesting...

I understood a bit of it but it sounds difficult :p

Nice Job :)

rJultimate
02-13-2007, 08:41 PM
nice! that must have been hard to do

Skeletron
02-14-2007, 12:21 AM
Ben, to get the between of X, Y you will have to divide the picturebox1.width and height by two.

rBen
02-14-2007, 12:34 AM
Ben, to get the between of X, Y you will have to divide the picturebox1.width and height by two.

Thanks, I need some serious help in my coding...