IupRecordInput

Definition: include pGUI.e

IupRecordInput(nullable_string filename, integer mode)
Description: Records all mouse and keyboard input in a file for later reproduction.

filename: name of the file to be saved. NULL will stop recording.
mode: flag for controlling the file generation. Can be: IUP_RECBINARY or IUP_RECTEXT.
Notes: Any existing file will be replaced.

Must stop recording before exiting the application.

It uses the global callbacks enabled by the INPUTCALLBACKS global attribute.

Mouse position is relative to the top left corner of the screen and it is independent from the controls and dialogs being manipulated.

The generated file can be used by IupPlayInput to reproduce the same events.
See Also: INPUTCALLBACKS, IupPlayInput