Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2008 15:42:59 -0600 (CST)
From:      Mark Hittinger <bugs@pu.net>
To:        bugs@freebsd.org (Mark Hittinger)
Cc:        Mark Hittinger <bugs@pu.net>
Subject:   recording with timestamp
Message-ID:  <200802102143.m1ALh0dD041336@pu.net>
In-Reply-To: <200802091557.m19Fvbk9032062@pu.net> from "Mark Hittinger" at Feb 09, 2008 09:57:37 AM

next in thread | previous in thread | raw e-mail | index | archive | help

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@pu.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802102143.m1ALh0dD041336>