recording with timestamp

Mark Hittinger bugs at pu.net
Sun Feb 10 21:58:45 UTC 2008


Ok here is the function that we would try to tamper with first:

function setupRecorderFile(%file)
{
if (%file == "") $recorderFileName=File::getNext("recordings\\recording.rec");
else $recorderFileName = File::getNext(%file);
}

Make a file with this code in it instead and exec it after you get going:

Unfortunately it will ignore the name you put in on your menu.

What this will do is make

recordings\recording15:37.rec
recordings\recording20:28.rec
etc

see if this actually works.

function setupRecorderFile(%file)
{
   %name = "recordings\\recording" ;
   %time = string::getsubstr(getword(timestamp(),1),0,5) ;
   $recorderFileName = %name @ %time @".rec" ;
}

Later

Mark Hittinger
bugs at pu.net


More information about the freebsd-bugs mailing list