!7 cmodule OCR { transient ImageSurface is; visual withCenteredButtons( jscroll(is = imageSurfaceWithStandardOperations()), "Recognize Screen (3s delay)", rThread recognize); void recognize enter { print("Will shoot screen in 3 seconds..."); sleepSeconds(3); print("Shooting."); is.setImage(shootScreen2()); new OCRRecognizeAndTeach(is); } }