Command line parameters

QuickRecord 3 can be started with command line parameters so that it automatically opens a file, and optionally starts playing or recording to it. There are four possible combinations of command line parameters. Note in all cases that, where a specified file has a .mp3 extension, it will be assumed to be an MP3 file. Otherwise, it will be assumed to be a WAV file:

1.   Open file only
 
QuickRecord  <filename>  
 
Starting QuickRecord with a filename as the only command parameter will cause QuickRecord to open that file when it starts, rather than a temporary file.
 
2.   Play file
 
QuickRecord /p <filename>  
or  
QuickRecord /pn <filename>  
 
This command format causes QuickRecord to open the specified file and to start playing it immediately. QuickRecord will exit automatically when playback is finished, either at the end of the file or when the Stop button is pressed.

If the optional parameter
n is specified, this specifies the playback device that will be used. n can range from 0 up to the number of playback devices in your system (in order, as listed in the 'Playback devices' control on the Wave options panel). If n is 0, then the default playback device is used.

3.   Record file

QuickRecord /r <filename>   
or  
QuickRecord /rn <filename>  
 
See the note below on filename specifications for recording.

This command format causes QuickRecord to open or create the specified file and to start recording to it immediately. The recording is appended to the end of the file. Recording continues until either the Stop button is pressed or the preset time limit set in the Time and Tone Options dialog is exceeded. If the file is a new file, it is opened with the currently-selected format for the file type (either WAV or MP3, see the Wave options dialog and File|Open...).

If the optional parameter
n is specified, this specifies the recording device that will be used. n can range from 0 up to the number of recording devices in your system (in order, as listed in the 'Record devices' control on the Wave options panel). If n is 0, then the default recording device is used.

4.   Record file with time limit
 
QuickRecord /r <filename> <maximum time>   
or  
QuickRecord /rn <filename> <maximum time>  
 
See the note below on filename specifications for recording.

This command format causes QuickRecord to open or create the specified file and to start recording to it immediately. The recording is appended to the end of the file. Recording continues until either the Stop button is pressed or the preset time limit specified on the command line is exceeded. The command line maximum time specification has the same format as the maximum time specification in the Time and Tone Options dialog.
 
This command line option is especially useful, in conjunction with the Windows scheduler, for making unattended recordings of fixed duration at a preset time.

If the optional parameter
n is specified, this specifies the recording device that will be used. n can range from 0 up to the number of recording devices in your system (in order, as listed in the 'Record devices' control on the Wave options panel). If n is 0, then the default recording device is used.

Filename specifications for recording

Filenames specified for recording can include special character sequences that QuickRecord will substitute for the current date and time at the start of recording. This allows the same command line to be used for multiple recordings (e.g. when scheduling repetitive recordings).

The special character sequences are all two character sequences starting with the asterisk character
*. The possible sequences are as follows:

*dCurrent date, in the form YYYYMMDD.  
*tCurrent time, in the form HHMMSS.  
*yCurrent year, in the form YYYY.  
*mCurrent month, in the form MM.  
*aCurrent day, in the form DD.  
*hCurrent hour, in the form HH.  
*nCurrent minute, in the form MM.  
*sCurrent second, in the form SS.  
 
So, for example, at 11:12:23 on 5th January 2004 the command line filename Recording-*d-*t.wav will be translated to Recording-20040105-111223.wav.