ardavirus 0 Posted November 5, 2010 Hello everyone. I have a game in full screen mode running on window 7 64bit. I have 3 x,y coordinates that have the same color on screen but when I test them with PixelGetColor i get strange return values (the color's proper value should be: 0x4c2d26)$testColorOne = PixelGetColor(46,381) $testColorTwo = PixelGetColor(87,381) $testColorThree = PixelGetColor(128,381) WinMinimizeAll() MsgBox(0,"","colorOne is " & Hex($testColorOne,6) & " colorTwo is " & Hex($testColorTwo,6) & " colorThree is " & Hex($testColorThree,6))The output I get on the msgbox is:colorOne is 571e01 colorTwo is 531c06 colorThree is 3d170aThe script uses absolute screen coordinates (default)I can't figure out why this happens and also I would like to ask if the decimal value that PixelGetColor returns is the actual color value (I mean if I transform it in hex it will give me the actual RGB value of the pixel?)Thank you for your time to read this one and help me!!!! Share this post Link to post Share on other sites
Melba23 3,452 Posted November 5, 2010 I have a game in full screen modeAnd another one who cannot read this at the top of each forum. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Share this post Link to post Share on other sites
ardavirus 0 Posted November 5, 2010 And another one who cannot read this at the top of each forum. M23Sorry mate I was in urge to find a solution that I didn't read properly the rules. Is there anyway to edit or delete the previous post. Apologies about any discomfort I might brought to your forums!!! Share this post Link to post Share on other sites