Sign in to follow this  
Followers 0
Splash

PixelGetColor under VirtualBox

3 posts in this topic

Hi!

I am trying to use PixelGetColor function under VirtualBox, but it don't work completely.

Look my code:

AutoItSetOption("PixelCoordMode", "2")
AutoItSetOption("MouseCoordMode", "2")

While 1
    $Color = Hex(PixelGetColor(MouseGetPos(0), MouseGetPos(1)))
    ToolTip($color, 0, 0)
    Sleep(20)
WEnd

When in a DirectX window (game) color is only "000000".

Someone have this problem too?

Maybe is a problem only with VirtualBox, someone can test this code in VMware?

I searched on the forum, but not found anything useful.

Sorry any english grammar errors.

Thanks in advance.


Automatic Update UDF - IP Address UDF - WinPcap AutoIt _FindDevice()[font="Verdana"][size="2"]AutoIt Spanish/Brasil/World community!!![/size][/font]Use you wanna a dot.tk domain please use my link:

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

(game window) - really?

and then (game) again, as if to parenthetically render the post *clicked*

should have left the inferred things inferred...

Edited by iamtheky

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0