Jump to content

SkyDancer

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by SkyDancer

  1. That is not a small rng time, its around 50-200ms, can it be cuz I run script from IDE? Cuz tbh I didn't try to compile and use it as exe script file...
  2. Im trying to make a unit test for my own web application. And I know the pixel color time is random but after pixel changed, from this moment next steps have to be with a static time but seems like the time for pixel search is random, but it has to be static since the pixel coordinates are always the same or I understand pixel search algorithm wrong?
  3. But how to wait for specific lolor then? I need to wait till one pixel on the screen changed the color then I need static delay and then Press Space button. So the basic question is how to wait for the pixel color changet with a static time, the pixel position is always static so it has to be static time for search it.
  4. Exectly. I need to search color with a static time. Is it posible to do it in AutoIt?
  5. Const $pixel_check_x = 1030 Const $pixel_check_y = 409 Const $pixel_check_color = 13093063 Const $send_delay_ms = 520 Do     $pixel = PixelGetColor($pixel_check_x, $pixel_check_y) Until $pixel = $pixel_check_color Sleep($send_delay_ms) Send("{SPACE}") Exit I have this code but delay is always random time after color matched, how to make color waiting with a static time then make some static delay and then pres Space button? Thank you.
×
×
  • Create New...