!7 cmodule FindActiveTab > DynPrintLogAndEnabled { transient CloseToColorPredicate solution = new(0x266D9F, 0.05051); transient int gridSize = 4; start { doEvery(3.0, r doIt); } void doIt { BufferedImage img = shootScreenArea(0, 0, screenWidth(), 50); RGBImage rgb = scaleImageWithFactor(1.0/gridSize, img); DoublePt pt = centroidForColorPredicate(solution, rgb); int x = iround(pt.x), y = iround(pt.y); pointArrowsToArea(toRectangle(rectAround(x, y, 80, 30)), 3.0); } }