terrypin Posted September 20, 2010 Report Share Posted September 20, 2010 I'm trying to detect when a blue progress bar moving rightwards reaches a certain point on its grey backround, and I'm puzzled why it fails. It looks like this: Repeat Until %PixelCol% Equals "10382418" // Blue, implying progress bar nearing end Get Pixel Color at (1881, 1164) Relative to Screen into %PixelCol% Delay: 5 seconds End Repeat Sound File: TADABRS.WAV (And variations, including an IF test.) It sails cheerfully past the set location without finishing the repeat loop. I'll try other programs and progress bars, but meanwhile does anyone have any thoughts on possible causes for the failure please? Could it be that colour detection needs a perfectly static image? -- Terry, East Grinstead, UK Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.