Howto:Recorder command line arguments

From innovaphone wiki
Jump to navigation Jump to search

Applies To

This information applies to

innovaphone Voice Recorder Build 1132 SR4 and later.

More Information

The Voice Recorder can be started with command parameters. The order of the parameter has neither influence nor eventual characters between.

The Setup parameters itself are not case sensitive, so but the value (the path itself) not.

recpath=c:\abc  =  RECPATH=c:\abc   <> RECPATH=c:\AbC


Example for fine inputs:

innovaphone_Recorder.exe recpath=c:\myrecdir\ setup
innovaphone_Recorder.exe /recpath=c:\myrecdir\/setup
innovaphone_Recorder.exe  recpath=c:\myrecdir\ -setup


Parameter <Setup>

The parameter

Setup

forces the application to open just the setup. No timer or interfaces are started. An exit of the setup will terminate the program.

Parameter <Path>

Let have a look how the recorder handles the path. The path points to a directory where the setup, log files and all other parameters are stored.

If a recorder starts he will check first if in the local directory there is a text file named “LocalPath.txt”. If this file is not present the recorder set the path for the parameter to the default path (“user\AppData\Roamin\innovaphone/innovaphone Recorder” or similar). If present he will read out the file and set the path to the inside value.

If you change the path and want have even in the new path the “old” setup feel free just to copy all the files in the new directory. If new installed you have in any case start the recorder setup, insert the new path, save the setup and restart the recorder. Now he will point to the “new” path.

The flag “Save setup in own directory” will force the recorder path to the own directory. If the file “LocalPath.txt” is in the directory of the recorder no other locations will be checked. Delete or rename this file of necessary.

Operation

The parameter can be inserted in the cmd box (DOS like) or using a batch file. Please note that the cmd should be executed as administrator (windows 8: press the windows key, enter cmd and select pressing the right mouse key “execute as administrator”).

A batch file can be created easy, open the editor and enter the command string, for example innovaphone_Recorder.exe setup Now save the file as a batch file, for example recsetup.bat in the directory where the recorder.exe is. If you click the file the application will start just showing the setup. Note also here that it could be necessary to start the batch file with the administrator rights. Of cause you can make a shortcut for example to the Desktop.

If you want edit the batch file open the editor and drag the file on it.

Start a bat file with admin rights

It is necessary to start the recorder with administrator rights. To start an recorder.bat file with admin rights a little trick must be applied. After writing your .bat file, create a shortcut and put it for example on your desktop. Now press the right mouse, select property and select “Advanced Prperties”


IQMrx.png


Check “Run as administrator”



Reference10:Concept_Voice_Recording_2014