Skip to main content
Version: 9.0.2

capture-playback

Plugin Name: capture_playback (-ocapture_playback,...)

Shared Library: libgre-plugin-capture-playback

capture_events=[eventname]

Capture option to define a custom list of events to capture. Multiple events can be specified by using the ":" character as a delimiter.

file=[filename]

If "capture" is specified as the mode it indicates the contents of the file specified will be overwritten with the new event stream.

If "playback" is specified then the contents of the file specified will be used as an event stream source.

loop=[count]

A playback option that indicates how many times the playback should iterate through its content. The default is to playback the content once, otherwise if a count is specified the plugin will replay the full content count times.

mode=[capture|playback]

Specifies the behavior of the plugin for either playback or capture. If capture is specified then input events (gre.press, gre.release, gre.motion, gre.keypress etc) will be logged and stored in an ouptut file.

If playback is specified then the contents of an input file are read and the input events are injected back into the application.

no_defaults

Capture option to specify that there are no default events set to be captured. By default we capture the following events:

  1. gre.press

  2. gre.release

  3. gre.motion

  4. gre.mtevent

  5. gre.keydown

  6. gre.keyup

  7. gre.keyrepeat

quit_playback

Playback option that indicates if a gre.quit event should be automatically generated after playback is complete. The default is to not generate a quit event.

verbosity

Indicates that the plugin should log events that it is either capturing or playing back to the standard output.