This patch allows timing information to be associated
with actions and events during recording and playback,
as opposed to just fixed auto-delay during playback. To
use, merge in these sources/schema and run Abbot with
either the additional vm argument
-Dtrecord.enable=true
or the call (somewhere before recording starts)
TemporalStep.Configuration.setTemporalRecordingEnabled(
true );
You will notice an additional "time" attribute
associated with action/event elements in the XML.
During playback, actions/events will temporally mimic
the original interaction (notice the mouse cursor can
stop, move slow/fast, buttons may be held for
long/short durations, etc.)
The code relies on the Robot auto-delay to do the
actual timeout (see StepRunner#runStep).
Brien
patch
Logged In: YES
user_id=54098
A few quick comments (I haven't reviewd the actual source yet).
Don't use robot.autoDelay for this. I'tll screw up multi-event actions. The delay
should be explicitly invoked either pre- step execution.
Make sure you're keeping a delta for the delay, not an absolute time.