hardCopy method
Saves a screenshot of the window to the disk. Note: Only the mandatory argument (Filename) is implemented. To use ImageType, xPos, yPos, nWidth, nHeight, it would be necessary to create an FFI helper '_invokeStrStrIntIntIntInt' in SapObject.
Implementation
String hardCopy(String filename) => obj.hardCopy(filename);