Hi,
can someone point me to a DLL (-function) or even commandline tool which enables me to make a screenshot of the desktop from code? Even if there is something which can do screenshots of "any window" (via specifying the windows HWND), that would be fine.
I just need a way to do this from REXX. (Oh, yes: For OS/2 and eComStation I mean. :-P )
TIA,
Thomas
There is the APM Automation Tool in the IBM OS/2 Employee Written Software Catalog. It is APMTST.ZIP and it does just what you want and more. From the inf file:
APMT is a program package that provides a set of REXX functions. These functions can be used to write REXX programs which can drive any PMapplication running in the same PC or in a different PC. Some of the functions query the state of the PM window controls, while others change them. This allows the REXX program (hereinafter called APMT client) to act in place of a human operator.
There is a.o. a SAVE_IMAGE function in there to save as selected window into a bmp file.
Wimpie.