impl takeScreenCapture()