Groups search result 55 for apmt os/2 |
volente@netunlimited.net wrote:
: Howdy,
:
: Using Warp 3, is there a way to dump the print screen output to a file
: in a full screen win/os2 session? The utility pu2v15 works fine for
: PM screens but doesn't work for win/os2 sessions. Is there an os/2
: utility that'll do it or perhaps a win3.1 util that'll work in warp?
:
: Thanks,
: Jim
there is an Employee written software thing from ibm called APMTST.ZIP,
it had this function (it's a rexx extension) called SAVE_IMAGE
like this rc = save_image("myfile.bmp")
which would then save the image of that window as a bitmap
(doc says os2 1.2 format but I seemed able to look at them with
PMView with no problem). Just get APMT from any site like,
www.service.ibm.com or any os2 site with the EWS directory in the
os2 area. The inf if good enough to explain how to point the
function to the window you want... basically you need to use
the init_session() function, then select_window() or
select_session(). If you don't program rexx, I can throw this
old rexx program at you by email, I wrote it because I knew
someone that was running this old dos program on os2 but it wasn't
written to output to disk but just to the screen. They used
the save_image to capture the output at regular intervals.
I think this was in 2.1 days and the dos window didn't have
'copy all' APMT has a much better way to do this by selecting the 'copy
all' via the pulldown menu by doing Menu_select("Copy All") IF
the particular window has 'Copy All'. menu_select() can cause
any pulldown menu item to be run that you give it.
Mark
©2002 Google