The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
Difference between revisions of "!FOLDER STOPWATCH"
m (Text replacement - "http://forum.iopus.com/" to "https://forum.imacros.net/") |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
By default the file name is performance_''macroname''.csv and is located in the [[download directory]] of your iMacros installation. | By default the file name is performance_''macroname''.csv and is located in the [[download directory]] of your iMacros installation. | ||
− | === Value [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]] [[Image:Ff-icon.png|Firefox]]=== | + | === Value [[Image:IMacros-icon.png|iMacros Browser]] [[Image:Ie-icon.png|IE Plug-in]] [[Image:Ff-icon.png|Firefox]] [[Image:Cr-icon.png|Chrome]]=== |
Valid location of the output file|NO. | Valid location of the output file|NO. | ||
Line 11: | Line 11: | ||
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. | 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; [ | + | If the folder does not exist, it will be created (only with iMacros for IE and the iMacros Browser; [https://forum.imacros.net/viewtopic.php?f=11&t=18428 iMacros for Firefox will raise an error if the folder does not already exist]). |
=== Set By === | === Set By === | ||
Line 33: | Line 33: | ||
=== See Also === | === See Also === | ||
− | [[!FILESTOPWATCH]], [[!STOPWATCH_HEADER]], [ | + | [[!FILESTOPWATCH]], [[!STOPWATCH_HEADER]], [https://forum.imacros.net/viewtopic.php?f=6&t=12790 How to determine iMacros folder locations from VBScript] |
Revision as of 12:30, 20 November 2018
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
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