Jump to content

boxme

Members
  • Posts

    11
  • Joined

  • Last visited

boxme's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I have read the forum rules and I am not using PixelGetColor in a game. I apologize if I shouldn't have linked to a bug report but he mentions having literally the exact same problem I have and seems to have found a solution so I thought it was relevant. Here's the line where he mentions Aero: "When one tries to do so in Vista64 (sp1) with aero turned on it always returns 0 when the directX window is active. If one turns off aero then PixelGetColor returns whatever is under that directX window (eg the window below or if nothing is below the desktop background) instead of the directX windows color at that pixel." The program I am using is not a game and does not have any anti aliasing settings so I am trying to determine if there is a specific Windows anti aliasing setting that is changed when Aero is turned on/off that I should be trying to look at.
  2. I found this old solved bug report with the exact issue I'm having: https://www.autoitscript.com/trac/autoit/ticket/205 The author says the bug is related to anti aliasing rather than directly to Aero. It doesn't go into specifics so I'm having a hard time figuring out how Aero and anti aliasing are related.
  3. Thanks, I'll try looking into Windows Desktop Manager and see if I can find anything about this. I've also observed that this problem only exists for some applications, in Google Chrome for example PixelGetColor works fine with Aero off. I've come across a lot of old threads saying applications that use DirectX have this same problem of getting the color of background windows, no of Aero though. The application I'm trying to use PixelGetColor on does use DirectX.
  4. I am using PixelGetColor to find the color under the mouse cursor in the currently active window. With Windows Aero turned on the PixelGetColor works perfectly. If I turn off Windows Aero PixelGetColor does not return the color of the active window but rather the color of the window directly below it. This problem also appears to only happen if certain applications are the active window. Has anyone experienced anything like this?
  5. Thank you, this worked perfectly!
  6. Tried creating a folder there and copying the data but it's still showing a blank readout when I run it.
  7. I'm trying to get Tesseract to work using the example script here: https://www.autoitscript.com/forum/topic/174483-tesseract-simple-example/ Downloading the script and running it with the example image just gives me a blank readout. Someone else had the same problem here: https://www.autoitscript.com/forum/topic/174476-single-dll-file-for-ocr/#comment-1263034 but doesn't provide an explanation of how they fixed it. Has anyone else experienced this problem and know of a fix?
  8. Unfortunately they are not controls and the app doesn't have an API. I'm going to try and see if I can do something with PixelSearch. Thanks for the help!
  9. Thanks, are there any specific methods you'd suggest I take a look at and try out?
  10. My issue is the image size could be anything depending on how the user has their monitor and the application set up. I don't have a specific 5-10 sizes I know to search for, the image could potentially be 10,000 slightly different sizes.
  11. I'm trying to find a way to locate an image that can appear at different sizes. I've successfully used the ImageSearch function to locate the image, but only if the dimensions of the image I input exactly matches what they're searching for on the screen. If the image I input is just a tiny bit bigger or smaller than ImageSearch is unable to find it. Does anyone have experience with this problem?
×
×
  • Create New...