static void checkLoop(ProcessingContext context) { //Utils.doScreenShoot("tstimgs\\full.png"); context.DebugLog("Getting app info"); //cmds = Utils.GetAppInfo("-name allfull -screenshoot"); //cmds = Utils.GetAppInfo("-name c5 -matchRect 79,32,167,22_200 -screenshoot"); context.GetToEntrance(); context.DebugLog("Do shift"); context.DoShift(); var controller = context.vdcontroller; controller.Init(); while (controller.canContinue()) { try { controller.CustomAction(context); DoProcess(context); } catch (SwitchProcessingActionException swa) { controller.Log("info", "switch action " + swa.Message); } } }