results = e.toString();
}
} else if (CaptureScreenshotCommand.ID.equals(cmd)) {
results = new CaptureScreenshotCommand(values.get(0)).execute();
} else if (CaptureScreenshotToStringCommand.ID.equals(cmd)) {
results = new CaptureScreenshotToStringCommand().execute();
} else if ("keyDownNative".equals(cmd)) {
try {
RobotRetriever.getRobot().keyPress(Integer.parseInt(values.get(0)));
results = "OK";
} catch (Exception e) {