!FOLDER STOPWATCH

From iMacros
Jump to: navigation, search

Sets the folder location for the file that contains the stopwatch measurement data.

By default the file name is performance_macroname.csv and is located in the download directory of your iMacros installation.

Value iMacros Browser IE Plug-in Firefox

Valid location of the output file|NO.

Setting !FOLDER_STOPWATCH to NO instructs iMacros not to create a response time log file. Use !FOLDER_STOPWATCH NO if you do NOT need a response time log file, if you retrieve the values with the Scripting Interface via iimGetStopwatch, for example.

You can set a different name for the stopwatch file with !FILESTOPWATCH. if !FILESTOPWATCH is set to a path containing a folder, but it is not a full path (no drive letter), it will be combined with the value of !FOLDER_STOPWATCH to a full path.

If the folder does not exist, it will be created (only with iMacros for IE and the iMacros Browser; iMacros for Firefox will raise an error if the folder does not already exist).

Set By

[ ] Internal

[X] SET

Internal means that the iMacros program itself sets the value of the variable during program run. SET means that the user can set this value via the SET command inside a macro.

Examples

SET !FOLDER_STOPWATCH c:\Users\iMacros
SET !FILESTOPWATCH "Temp\\My Stopwatch.txt"

will write to "c:\Users\iMacros\Temp\My Stopwatch.txt". Please, notice that if the path is quoted, backslashes should be escaped.

SET !FOLDER_STOPWATCH c:\Users\Public\Performance

will write to file c:\Users\Public\Performance\performance_macroname.csv

See Also

!FILESTOPWATCH, !STOPWATCH_HEADER, How to determine iMacros folder locations from VBScript