Jump to content
Sign in to follow this  
Oldschool

Can't PixelGetColor an overlay template

Recommended Posts

Oldschool

It's showing up the right color but I can't PixelGetColor the thing, PixelGetColor shows what's beneath it...

Why would this happen??

<DIV ID="CLIENTAREA" STYLE="position:absolute;left:3px;top:29px;width:800px;height:600px;">
   <DIV STYLE="position:relative;background-color:FFFFFF;left:329px;top:134px;width:140px;height:40px;visibility:visible;overflow:hidden;">
    <TABLE WIDTH="100%" HEIGHT="100%" BORDER="0" CELLSPACING="0" CELLPADDING="0">
     <TBODY>
      <TR>
       <TD>
        <SPAN ID="CONTENT" CONTENTID="AddInfo" TRANSFORMATION="Add.xsl" ALIGNX="0" STYLE="font-family:Tahoma;font-size:24pt;font-weight:700;font-style:normal;color:#000000;position:relative;" SETTINGSITEMNAME="AddInfo" SETTINGSGROUPNAME="AddInfo">
        </SPAN>
       </TD>
      </TR>
     </TBODY>
    </TABLE>
   </DIV>
  </DIV>

Share this post


Link to post
Share on other sites
PsaltyDS

It's showing up the right color but I can't PixelGetColor the thing, PixelGetColor shows what's beneath it...

Why would this happen??

Because you didn't index the instance of object.dingle.berry($oIE) that you called in line 327.

Duh!

:P


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites
Oldschool

Because you didn't index the instance of object.dingle.berry($oIE) that you called in line 327.

Duh!

:P

Call me stupid, put can you give me a little more to go on, please.

A link maybe...

Share this post


Link to post
Share on other sites
Ranmaru

Because you didn't index the instance of object.dingle.berry($oIE) that you called in line 327.

Duh!

:P

;) Lolled big time!


Share this post


Link to post
Share on other sites
PsaltyDS

Call me stupid, put can you give me a little more to go on, please.

A link maybe...

Ermm... :P

...that was a line of sarcastic non-sense intended to be funny and make the point that you did not provide anything to go on. Post a reproducer script that I can run from SciTE and it will show me your color, do PixelGetColor(), and show the wrong color.

Just as a wild guess, though, are you moving the mouse there before checking it? Is so, you might be getting the pixel off the mouse pointer instead of your color.

;)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×