diff options
author | Jeremy White <jwhite@codeweavers.com> | 2012-08-06 13:03:06 -0500 |
---|---|---|
committer | Jeremy White <jwhite@codeweavers.com> | 2012-08-06 13:03:06 -0500 |
commit | b50e2084a32b8c5dd949cfe86ed26538d575c001 (patch) | |
tree | 537c970c97631b4549221e6797a16406e8f1c8f2 | |
parent | 2d26f061613a6b8bb5cddb8f06b6e64de81253d9 (diff) |
-rwxr-xr-x | wordmeasure | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/wordmeasure b/wordmeasure index 3318149..e3b16a9 100755 --- a/wordmeasure +++ b/wordmeasure @@ -7,6 +7,9 @@ do_smile=1 do_record=1 do_scroll=1 +record_fps=30 +record_quality=63 + CLICKAT=./clickat CMD="bash -c" @@ -65,7 +68,8 @@ $CMD /sbin/ifconfig > $fname.ifconfig date >> $fname.ifconfig echo_jiffies >> $fname.ifconfig if [ $do_record -eq 1 ] ; then - recordmydesktop --windowid $wid -x $xoffset -y $((yoffset+4)) --width 800 --height 592 --no-sound --overwrite --full-shots --v_quality 0 --output $fname.ogv & + recordmydesktop --windowid $wid -x $xoffset -y $((yoffset+4)) --width 800 --height 592 --no-sound --overwrite --fps $record_fps --v_quality $record_quality --output $fname.ogv & +# Skipping out on --full-shots record_pid=$! fi @@ -115,10 +119,13 @@ $CLICKAT click --position $((284+xoffset))x$((104+yoffset)) $CLICKAT key --delay-between-keystrokes 100 --keystroke 'n' ./msleep 1000 $CLICKAT click --position $((739+xoffset))x$((132+yoffset)) -./msleep 200 -$CLICKAT click --position $((739+xoffset))x$((238+yoffset)) -./msleep 200 -$CLICKAT key --delay-between-keystrokes 100 --keystroke '4\r' +./msleep 1000 +$CLICKAT click --position $((739+xoffset))x$((230+yoffset)) +./msleep 1000 +# We repeat the click; not entirely sure why we need to do this. +$CLICKAT click --position $((739+xoffset))x$((230+yoffset)) +./msleep 1000 +$CLICKAT key --delay-between-keystrokes 200 --keystroke '4\r' ./msleep 1000 # Draw a smile |