; Batch Runner Pro preferences, in no particular order. ; Last updated: Tuesday Mar 19, 2013 ; ; Ini settings are usually either an integer (number); a boolean (aka. "bool") ; which is true or false (you can also use 1 & 0, amongst other things); or a ; string of some kind (i.e. a name or file path). Strings with spaces should ; usually be placed inside "quotes" ; ; Lines beginning "#" or ";", like the line you are reading right now, are ; ignored by Batch Runner Pro. i.e. "the comments". ; ; Note: this ini file will be automatically upgraded by future versions of ; Batch Runner Pro, to ensure you have all the latest preferences and features. ; Your settings will remain intact, but any comments you may insert into this ; file will be lost, or rather, they will be in your backup ini file. ; ; Also note: if you mess up some setting, and want to get back the defaults, ; simply rename or move this file, and run Batch Runner Pro again; its default ; ini will be re-placed. ; ; More info, here.. ; ; http://corz.org/windows/software/batch-runner/batch-runner-pro.php [Batch Runner] ; Version.. ; This is used to keep your ini file up-to-date with any new features and changes.. version= ; Set to 0 to disable debugging. debug_level=0 ; Preferred text editor.. ; This program is invoked if you choose 'Edit Preferences' or "View the Log" ; from the tray. Enter the full path to your chosen editor, e.g.. ;editor=@programsdir\text ed\editplus\editplus.exe editor= ; Note the use of @programsdir @token to automagically insert the path to the ; current program files directory. If you need to specify the 32 bit program ; files dir on a 64 bit system running the 64 bit verzion of Batch Runner Pro, ; use "@programsdir32". See below for more information about @tokens. ; ShirtWare! ; Your ShirtWare registration info here.. ; reg_user= reg_code=http://corz.org/windows/software/batch-runner/batch-runner-pro-licensing.php?app=true ; The currently selected batch (will load at launch time).. current_batch=TestSuite ; You can also specify which batch to load, on the command-line. ; See the URL (above) for full details. ; Sort the Batch DropDown.. ; Normally, Batch Runner Pro sorts the Batches DropDown into alphabetical order, ; but if you prefer, you can instead have it unsorted, which should get you the ; same order they appear inside this ini file. sort_batch_list=true ; Logging.. ; Log Path.. ; You can use a folder path, a full file path, or just the log name (to log ; to the program folder, aka. "portable mode") You can also use @tokens in the ; path, e.g.. ;log_path=Batch Runner [@batch][@year-@mon-@mday].log ;log_path=@userdir\Batch Runner [@batch][@year-@mon-@mday].log ;log_path=@userdir\logs [@year-@mon-@mday]\Batch Runner [@batch@@hour.@min.@sec].log ; ; Leave blank to disable logging. log_path=@userdir\logs\Batch Runner [@batch].log ; ; For a larger explanation of the available tokens, see.. ; http://corz.org/windows/software/batch-runner/#section-Preferences ; UTF-8 logging.. ; By default, Batch Runner Pro logs in plain ANSI, but you can have UFT-8.. utf8_log=false ; Include UTF-8 BOM? ; If you don't know what it is, don't enable it! uft8_bom=false ; Log Line-Feed.. ; By default, Batch Runner Pro uses CRLF (Windows) linebreaks, but you can ; instead use CR (Mac) or LF (UNIX/*nix) Linefeeds. log_line_feed=CRLF ; Time-Stamp Log Entries.. ; Batch Runner can add a timestamp to the beginning of each log entry. ; the format is "YYYY:MM:DD:HH:MM:SS," timestamp_logs=false ; TimeStamp EVERYTHING.. ; Normally, Batch Runner only timestamps the log lines containing actual ; commands, but if you prefer, you can have it timestamp *every* line. This is ; useful for certain automated systems where the logs may be machine-read. timestamp_everything=false ; Time-Stamp Delimiter.. ; By default, Batch Runner uses a comma to separate the timestamp from the log ; entry, but you can change it to something else. Note, it's usually best to ; enclose any multi-character strings in "quotes". ;timestamp_delimit=", " timestamp_delimit=, ; Date/Time Delimiter.. ; By default, Batch Runner uses a colon to separate the date and time parts of ; the timestamp entry, but you can change it to something else, maybe a space.. ; again with the quotes for strings containing spaces. date_delimit=: ; Log Separator.. ; This string is placed /between/ logs. ; NOTE: You can have a multi-line separator. The "\n" sequence (no quotes) will ; be converted into whatever you have set to log_line_feed (above). e.g.. ;log_separator=--- line 1 ---\n--- line 2 --- log_separator=-------------------------------------------------------------------------------- ; Log Setup/Wrap-Up tasks.. ; Batch Runner can log the Setup and Wrap-Up commands to the main log. This can ; be useful if you are troubleshooting a setup procedure. log_setup=false ; Log options.. ; By default, Batch Runner Pro will log the current batch-specific options; ; (cycle /time limit / randomize ) on each run. You can disable that.. log_options=true ; Log Logging Options ; You can also have Batch Runner Pro log the logging options, which seems ; slightly redundant, but at least no animals were harmed in the process. log_log_options=false ; Log Summary.. ; By default, Batch Runner Pro will log a simple summary of the total tasks/ ; fails/errors. You can disable that, too.. log_summary=true ; Background Log Updating.. ; During extremely long tasks, Batch Runner Pro can keep the log in an updated ; state. Enter a value (in minutes) of how frequently Batch Runner should do ; this. Note: this is achieved by appending a "." (dot) to the log line for each ; update. When the task ends and returns a result, these dots are removed and ; the result written there instead. This keeps the log "refreshed". log_update=5 ; Compress Logs.. ; You can have Batch Runner Pro compress your logs using Windows built-in file ; compression. If the log folder is not Batch Runner Pro's folder, it will also ; compress the entire folder. All this saves space and is free. compress_logs=false ; NOTE: All logging options can be set at the per-batch scope, using opt|pref=. ; Trace file.. ; If you are using Batch Runner Pro's process output tracking, you can specify ; the name/path of your trace file here. Use the same format as log_file, above. trace_file= ; NOTE: your trace file will use your logging preferences for line breaks, ; encoding and such. Leave trace_file blank for the default name, which is: ; "Batch Runner Pro [@batch] Trace File.log" ; Always Show Trace.. ; Normally, during a trace, Batch Runner Pro saves the command output to a file. ; If you run a single command (via the task context menu), that output is ; directed to the screen for immediate viewing, just like the result. If you ; want, you can have Batch Runner Pro *always* display the output from traced ; commands at the end of a batch run. The traces are also saved to trace_file. always_show_trace=false ; Trace All Tasks.. ; With this set to true, regardless of the use (or not) of the "trace|" option ; set on each task, Batch Runner Pro will trace ALL tasks. trace_all_tasks=false ; NOTE: All trace options can be set at the per-batch scope, using opt|pref=. ; When you load a new batch, all the items are selected (true/false).. select_all=true ; Helpful ToolTips when you mouse-over the GUI controls. show_tips=true ; Notify dialog when a batch job is complete.. (only for GUI operation) notify=true ; Prompt when you delete batches from the batch list.. warn_delete_batch=true ; Prompt when you delete commands from the commands list.. warn_delete_command=true ; beep when a batch job is complete. options.. ; ; false no audio ; true use default PC speaker beep at 1000Hz ; beep using this frequency (in Hz, from 37 to 12000-ish) ; play this WAV (sound) file ; beep=false ; Show Batch Controls.. ; YOu may want to disable the batch controls altogether, namely the cycle, time ; and randomaize options. show_batch_controls=true ; NOTE: you can also disable *only* the randomize controls, below. ; Repeat the Main Batch (master setting).. ; Batch runner can run the main batch over and over until your preconfigured ; timer runs out. This is the master setting. You can also set this inside the ; [batch], for a per-batch setting, using the opt|*= construct. ; See below (and in the [batches]) for more details. cycle_main_batch=false ; NOTE: ; Your "Setup" pre-batch commands will always run only ONE time, at the start. ; Your "Wrap-Up" post-batch commands will always run only ONE time, at the end. ; Enable Randomization from GUI.. ; Batch Runner can also cycle through the main batch tasks randomly. If set to ; false, the randomize option will not appear in the GUI, though you may still ; load and run batches with randomization set at a per-batch level, or in the ; master setting, below (all batches would be randomized). enable_randomize=true ; Randomize Batch (master setting).. ; This setting controls the default on/off switch for randomization. Batches ; without a per-batch randomize option will load using this master setting. ; If enable_randomize=false, above, there is no way to change this in the GUI. randomize_batch=false ; Maximum Batch Time (master setting).. ; This setting determines the maximum time the main batch is allowed to cycle ; for. Enter a value in MINUTES.The default is one hour (60 minutes). Batches ; without a per-batch time-limit option will load using this master setting. max_batch_time=60 ; NOTE: Batch Runner also accepts numbers suffixed by a single denominating ; digit (I just made that up) d/m/h, as well as decimal fractions, e.g.. ; max_batch_time=10s (Ten Seconds) or max_batch_time=2.5h (2 1/2 Hours) ; max_batch_time=2.5m is also acceptable, but max_batch_time=2.5 does the same. ; max_batch_time=2.33s is fine, too (for high precision timing!) ; for the record, max_batch_time=0.05 would give you three seconds. ; * Remember, if your task takes a long time, Batch Runner will not be able to ; finish the cycle until the task has completed, so the final time (as recorded ; in your log file) may be longer than max_batch_time. ; You can also choose to /display/ decimal fractions of a second, i.e. 2.35s. ; This affects both the title bar and logged time. Note: during long tasks, ; Batch Runner Pro will update the timer display no more than once per second. precision_seconds=false ; Auto-Size Columns ; At launch time, Batch Runner will attempt to set the width of your columns ; to best match the content and size of the window. If you set this to true, ; Batch Runner will keep on doing it whenever you resize the window, which ; should (hopefully) keep your columns at the correct width, relative to the ; size of the main GUI. I recommend you set this to true. autosize_columns=true ; Counter Column Width ; You can override the default width (in pixels) that you would like to use for ; the fail/cycle counters column, handy for LONG series of tests! Values from ; 80-200 work best. Leave blank to have Batch Runner use its default (80). counter_width= ; Align the Counters Column.. ; choices are left, right, centre (or center, in American English). Enter ; anything else and you get left. counter_align=left ; Halt on Setup/Wrap-Up task failure.. ; If one of your Setup or Wrap-Up (pre- or post-) tasks fails (returns a non- ; zero result) Batch Runner will halt batch execution and present a message to ; the user. If you would prefer Batch Runner to carry on regardless, set this to ; false. Note: This applies to ANY non-zero result - Setup/Wrap-Up tasks are not ; expected to fail. halt_on_setup_fail=true ; Halt on Main Batch task Failure.. ; By default, Batch Runner Pro will halt execution of the main batch tasks on ; some task returning a negative exit code (i.e. -1). You can disable that ; behaviour here: halt_on_task_fail=true ; NOTE: You can also switch this behaviour on a per-batch scope with opt|*= ; Halt on Fail exit code range.. [default: -100,-1] ; When halt_on_task_fail (above) is set to true, you can limit the range of ; exit codes which will cause Batch Runner Pro to abort operation. The range ; is inclusive. If you set a range of "-50,-3" (no quotes required) any task ; failing with an exit code of anywhere from -50 to -3 will abort the batch. ; A task failing with an exit code of -51, or -1, or -2 or -100, etc., would be ; logged as a failure, but the batch will continue. halt_on_fail_range=-100,-50 ; ; If you set positive values, or the lower limit higher than the upper limit, ; or some similar impossibilty, Batch Runner Pro will default to using a range ; of -100,-1, meaning tasks failing with exit codes from -1 to -100 will halt ; the batch, exit codes below -101 will not. If only one of the values was ; impossible, Batch Runner Pro will attempt to keep the other value. ; ; NOTE: setting the upper range limit above -1 is ignored (it will be reset), ; 0 is ALWAYS success! There is no limit to the lower end of the range. ; ; NOTE: You can switch this behaviour on a per-batch scope with opt|*=, e.g.. ; opt|halt_on_fail_range=-30,-10 ; Allowed Executables.. ; List the file types that Batch Runner will allow to be dropped onto its lists. allowed_exes=exe,bat,com ; Allow Empty Batches.. ; Normally, if your main batch is empty (or you have deselected all the tasks), ; Batch Runner will halt operation and warn you about this. However, you may ; wish to disable this behaviour, in which case Batch Runner will run your pre- ; and post-batch tasks without warning. allow_empty_batch=false ; Hide Running Tasks.. ; By default, Batch Runner will attempt to hide the windows of processes it ; launches, but you can override that behaviour here.. hide_running_tasks=true ; Portable Paths.. ; Batch runner can work with commands that begin ".\", enabling you to move ; entire test suites, batch runner included, to anywhere and have all the paths ; still function. Most useful in portable mode but will work in any situation. ; For example, if you have a folder next to Batch Runner named "Tests", you ; could have commands that look like: .\Tests\SomeApp.exe /foo "bar" portable_paths=true ; Ignore Selections.. ; With ignore_selections=true, regardless of what is and isn't selected in the ; task list when the user clicks "Run Batch", ALL items in the list will be ; selected and run. ignore_selections=false ; Previous Exit Code (@token) ; You can access the exit code of the previous command with @exitcode, and use ; it as a parameter in the next command, e.g. c:\path\to\app.exe /p @exitcode ; If required, you can also specify a different @token: exit_token=@exitcode ; Section Names.. ; It's best to enclose these in "quotes", especially if they contain spaces. ; The main batch set, which in the middle. This is the batch which can be looped ; and run as a random task set. Normally it is named "Main Batch". main_name="Main Batch" ; the pre-batch commands, which run once, designed to use to setup the system. ; Usually named "Setup". pre_name="Setup" ; post-batch commands, which run once, to wind-up the test session. Usually ; named, "Wrap-Up". You might prefer "Wind Down", or something. post_name="Wrap-Up" ; Command Column Name.. ; This is the name of the column where the commands (aka. "Tasks") are listed, ; used in all three sections. You can rename this to whatever you like. cmd_col_name="Commands" ; *NOTE* You can click these column headers to bring the list selections to ; the front, without altering the selections (like clicking on an empty part ; of the list can). Click any other control to go back to color/report view. ; Counter Column Name.. ; This is the name of the column where the counters are displayed. ; You can rename this to whatever you like, so long as it *means* "fails/cycles" cnt_col_name="Fails/Cycles" ; Success Message.. ; this is the message that gets tagged onto the end of the log line on success success_msg= -- success! ; Running Time in TitleBar.. ; The current batch run time can be displayed in Batch Runner's Title Bar during ; a batch run. Or not, your call. Countdowns are also displayed here. time_in_title=true ; Run "On-Top".. ; Batch Runner can attempt to stay on top of other windows during a batch run. run_on_top=false ; Multi Run Limit.. ; Being so flexible, it's possible to put Batch Runner into a perpetual ; loop, running itself inside itself inside itself, and so on. This ; preference sets a limit on the number of allowed instances, up to a ; maximum of 10. multi_run_limit=3 ; Auto-Name Tasks.. ; If you have a lot of commands to add, or have no need for names for your ; tasks, you can enable auto-naming, and let Batch Runner take care of it. auto_name_tasks=false ; Colors.. ; Enter a standard six-digit RGB hex value for the color, with or without the ; preceding "#". To avoid confusion, try not to clash with your system's ; selection highlight color. ; color_default=ffffff color_text=000000 color_running=80ffff color_success=00ff00 color_fail=ff0000 color_multi_fail=b901f9 color_error=ffff20 color_abort=ff33ff ; note, no blue! ; Reset Colors? ; Batch Runner can reset all the colors back to your default at the start of ; every batch run. If you set this to false, the previous state can be seen up ; until something changes it, which may or may not be confusing, depending on ; how you work. reset_colors=true ; Fonts ; You can set a couple of the fonts, too.. task_list_font= task_list_font_size= batches_font= batches_font_size= ; leave blank for the default system UI fonts at size 9. ; Custom HotKeys.. ; You can set the custom HotKeys to whatever you desire (within your system's ; limits). For a list of the codes to use, see here: ; http://corz.org/windows/software/batch-runner/files/HotKey_SEND_Values.html ; userkey_add="{NUMPADADD}" userkey_del="^{Del}" userkey_run="^{enter}" userkey_pause="{pause}" userkey_abort="{NUMPADSUB}" ; ; NOTE: Be *Very* *Careful* with these HotKeys, or you may end up sending keys ; all over the place! ; Version Checking.. ; Batch Runner Pro can check online to see if a newer version is available. ; Enter a number here, which will represent the number of days between checks, ; i.e to check weekly, use: version_checking=7 ; To disable version checking, use version_checking=0 version_checking=-1 ; Custom Registered User.. ; Normally, Batch Runner Pro inserts the email address of the registered user ; into the About Box. In some scenarios, you may prefer a different string. ; Something small is best - there's not much space. reg_to= ; Hover mouse to show main window [bool] [default: hover_to_show=true] ; ; If the Batch Runner Pro window is behind other windows, but not minimized, ; you can hover the mouse over its tray icon to bring it to the front. ; hover_to_show=true ; ; If it is minimized, click the icon! ; Mouse Tray hover sensitivity.. [int] [default: hover_sensitivity=7] ; ; How fast Batch Runner Pro activates depend on the hover_sensitivity. ; Enter an integer value: 1 - 10. 10 is fastest, basically immediately. ; hover_sensitivity=8 ; GUI dimensions, etc.. ; These are generally update automatically when you exit normally. ; NOTE: If you quit from the Tray, window size and position is NOT saved, which ; may proved handy some day! x=-1 y=-1 width=500 height=356 ; ; Now the batches themselves.. ; ; Notes.. ; ; * Each entry must have a unique name (left-hand side of entry=command). ; You can use any alphanumeric (letters or numbers), as well as spaces, ; for the "name" part. Also remember, if you use the @batch token in your ; log_path, you will need to use characters that are valid file names, as it ; will be derived from what you set here. ; ; * Commands will appear in the list, and be run, in whatever order you ; specify here in this ini. ; ; * These batches are loaded dynamically whenever you select a batch from ; the dropdown, so if you prefer to edit things *here*, simply (re)select ; the batch, and your changes will load automatically. ; ; There is also a context (right-click) menu on both the batch drop-down ; and command list with "reload" options. ; ; * You probably do *not* need to put quotes around stuff unless it is ; a path inside a parameter (with a space in that path). see examples.. ; ; A few sample batches.. ;; [TestSuite] opt|cycle_main_batch=true opt|randomize_batch=false opt|max_batch_time=10s 00001=.\TestSuite\Exit0.exe 00002=.\TestSuite\Exit0.exe 00003=.\TestSuite\Exit0.exe 00004=.\TestSuite\Exit1.exe 00005=.\TestSuite\Exit0.exe 00010=.\TestSuite\ExitRANDOM.exe 00006=.\TestSuite\Exit0.exe 00007=.\TestSuite\Exit1.exe 00008=.\TestSuite\Exit0.exe 00009=.\TestSuite\Exit0.exe 00011=.\TestSuite\Sleep500-ExitRANDOM.exe [Compaction Test] compress reports=compact.exe /C /S I:\Work\Documents\Reports\*.log uncompress reports=compact.exe /U /S I:\Work\Documents\Reports\*.log opt|randomize_batch=false opt|cycle_main_batch=true [Reset Context Menus & Icons] opt|randomize_batch=false opt|cycle_main_batch=false image types=C:\WINDOWS\regedit.exe /s "C:\Toolbars\Active Scripts\Reg\Concepts\Image Types.reg" miscy types=C:\WINDOWS\regedit.exe /s "C:\Toolbars\Active Scripts\Reg\Concepts\Miscy.reg" multimedia types=C:\WINDOWS\regedit.exe /s "C:\Toolbars\Active Scripts\Reg\Concepts\Multimedia.reg" text types=C:\WINDOWS\regedit.exe /s "C:\Toolbars\Active Scripts\Reg\Concepts\Text Types.reg" rebuild icons=C:\Program Files (x86)\UI Tools\RebuildIcons.exe [Time Test Suite] 00001=.\TestSuite\Exit0.exe 00002=.\TestSuite\Sleep5000-Exit1.exe 00003=.\TestSuite\Exit0.exe 00004=.\TestSuite\Exit00.exe opt|cycle_main_batch=false opt|max_batch_time=5s opt|randomize_batch=false post|00001=.\TestSuite\Sleep5000-Exit0.exe pre|00001=.\TestSuite\Exit0.exe pre|00002=.\TestSuite\Sleep5000-Exit0.exe