It won't be of any help to you - but you can do it in Aubit4GL :-), there is
extensive support for screen dumping including the dump_screen function, and
dump screen key (and output filter)...
Heres some code that we use though for compatibility testing (IIRC - this
one
is a heavily modified version of something in the IIUG software
repository) :
http://cvs.sourceforge.net/viewcvs.p...12&view=markup
It takes one or two parameters
call aclfgl_dump_screen("filename")
or
call aclfgl_dump_screen("filename",mode)
where mode is an integer :
0 = Dump character and first 8 bytes of attribute
1 = Dump just characters
2 = not used...
3 = use curses scr_dump function call
As it stands, the function automatically appends '.infx' to the filename....
HTH
John Anderson wrote:
> Hi all,
>
> I need to make a screen shot report on some of my programs as soon as
> the users presses the accept-key to start processing transactions for
> audit purposes. I've been using the DBSCREENOUT for years and know
> this to be the easiest way to get a screen dump but the problem is
> that Control-P has to be pressed for this to work. I have over 500
> programs and they all need to be standard so changing the accept-key
> to Control-P is out of the question (my current accept-key is F9). Is
> there a way to make the screendump without pressing Control-P? Like
> calling whatever informix function is called when control-p is
> pressed? If not then is there a c function that can emulate a keypress
> so I can emulate a Control-P when user presses F9? INFORMIX-4GL
> Version 7.30.HC4P1, INFORMIX-ESQL Version 9.40.UC2, HP-UX alpha
> B.11.00 U 9000/800. Big thanks in advance
>
> John Anderson