Analyze image still in clipboard

4 posts in this topic

EvilRubberDuck 0

Hey guys! So i want to get the pixel color in a certain position while the image is still in the clipboard. I found Greenseed bot, but first i don't know what the hell happens in that code, and second i don't know if it is useful to me. Anyone can help me?

Thanks

On 1/26/2008 at 1:27 AM, Greenseed said:

Hi everyone... long time i had not done a Autoit script

I was just lazy today.. and looking one of my friend playing Guitar Hero III.... im so bad at that game mouhaha!

So i started a Bot with PixelGetColor feature, but was not working, since each time i call that function, Autoit Take a complete screenShot from the GDI and search the pixel from there...

There is 5 Button, so that mean 5 ScreenShot... not good at all...

Then i managed to get 1 ScreenShot and after that reading pixel Color for my 5 region and then Send the right Key Press...

The bot is not perfect into that version... since the goal here is to show off a script that can maybe be helpfull for other serious need i saw many ppl searching how to grab pixel color from memory

Which selects the object in memory to be processed (thanks MSDN) and then you can do:

<snip>

In which $x and $y are the pixel coordinates in the image that's in memory, which if you're taking a full size screenshot, while bill the pixel coordinates on the screen. Then, finally at the end of your script:

<snip>

To make sure after running it for a while your PC doesn't start running out of memory.

Edited September 11, 2016 by JLogan3o13

My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.

Share this post

Link to post

Share on other sites

JLogan3o13 961

@EvilRubberDuck you seem not to have bothered to read the forum rules during your time here. Please do so now, especially the section on game automation, and you will see why this thread was locked. Do not post these types of questions again.

To other forum members, please exercise a little thought and common sense before responding to/assisting with blatant game automation threads..