!7 static XP_FindWindows fw; static RGBImage activeWindow() { FoundWindow w = findWhere(fw.foundWindows, active := true); ret w == null ? null : fw.rgb(w.r); } p { fw = new XP_FindWindows; fw.step(); RGBImage img = activeWindow(); if (img == null) print("No active window"); else { showImage(ocr_explodedView1(img)); } }