Create service.support.CaptureSupport and implement captureScreenToFile().