DownloadRaw

contents

  1. ##### ### ## ### ######## ### ## ### ###TM
  2. ####### ####### ####### ######## ####### ####### #######
  3. ### ### ### ### ### ### ### ### ### ##
  4. ### ### ### ## ### ### ### ## ### ##
  5. ####### ####### ## ######## ### ####### ## ######
  6. ##### ### ## ######## ### ### ## ###
  7. ####
  8. Batch Runner
  9. Batch Runner Pro
  10. Run multiple programs in a batch..
  11. http://corz.org/windows/software/batch-runner/
  12. http://corz.org/windows/software/batch-runner/batch-runner-pro.php
  13. (c) corz.org
  14. itstory.. aka 'version history'.. aka 'changes'..
  15. [known bugs at the bottom]
  16. Key..
  17. * Fixes
  18. ~ Changes
  19. + New stuff
  20. Batch Runner 0.9.15 [current release]
  21. + Added "Reveal In Explorer" to context menu of command lists, so you can
  22. get directly to the exe/bat/(other allowed executable) directly.
  23. * Fixed a bug in the handling of paths containing "\n", which will no
  24. longer translate into new-line sequences in the log.
  25. * Minor adjustments to the list edit window.
  26. Batch Runner Pro 0.9.10.1
  27. * Fixed a bug in the "hide_running_tasks" setting, which was getting stuck
  28. at the default, "on".
  29. Batch Runner Pro 0.9.10.0
  30. + Custom exit code ranges.
  31. When you have "halt_on_task_fail" set to true, you can now have Batch
  32. Runner Pro apply this action only to exit codes within a specific range.
  33. Tasks failing with exit codes outside the range will be logged, but the
  34. batch wil continue. You can, of course, set this range.
  35. Batch Runner Pro 0.9.9.19
  36. + MANY more options are now available in the per-batch scope, namely /ALL/ the
  37. logging and trace (see below) options as well as:
  38. select_all
  39. ignore_selections
  40. precision_seconds
  41. success_msg
  42. notify
  43. beep
  44. This is on top of the already batch-enabled:
  45. halt_on_setup_fail
  46. halt_on_task_fail
  47. cycle_main_batch
  48. randomize_batch
  49. max_batch_time
  50. + The new per-batch options will now get their state logged along with the
  51. other per-batch options, if you have that enabled. You can now also log the
  52. logging options, if you so desire.
  53. + Inheriting some more ready-made functionality common to many of my apps..
  54. + You can now have Batch Runner Pro compress your logs and logging folder (if
  55. it isn't the program folder) to save space. This uses Windows' own built-in
  56. compression mechanism.
  57. + Batch Runner Pro can now be brought to the front by simply hovering your
  58. mouse over its tray icon. The sensitivity can be set in your ini (1 = after
  59. a delay, 10 = immediately). Be aware that this is set to true by default.
  60. + Some improvements to the About Box System Info.
  61. + Added a special "dos" instruction. This switch should hopefully never be
  62. needed, but if you ever have troubles running a built-in DOS commands,
  63. prepend your command statement with "dos|" (no quotes) and Batch Runner Pro
  64. will use a special dos-only mechanism to run the command (basically invoking
  65. the system command interpreter to handle the command). This should only ever
  66. be required to run internal DOS commands like DIR, COPY, MD, RD, etc., not
  67. external commands like XCOPY, ATTRIB, NET, etc., or regular DOS (console)
  68. applications. It shouldn't ever hurt, however, and is safe to use on most
  69. commands.
  70. Using the same format, I added another special instruction , "trace|", which
  71. will track the output (STD_OUT) from the task's process and feed it to a
  72. specified trace file. If you perform a "Run This Command" (on a single
  73. command) from the task's context menu, and the task has trace| enabled, the
  74. output is instead directed to the screen. You can also choose to have this
  75. happen on all trace output.
  76. + You can combine the trace| and dos| switches, so long as they are in that
  77. order, e.g. trace|dos|dir c:
  78. + Finally added the "Run This Command" option to the pre- and post- lists,
  79. handy for testing commands in-situ.
  80. ~ Combo (batch) selections will now be remembered from the very first (launch)
  81. selection, as opposed to only from the session's first user selected batch.
  82. + Added a "shellex|" switch which will run the command using the system's
  83. ShellExecute mechanism. This is useful for running commands which are not
  84. programs. For instance, you could use a URL or music playlist as your task.
  85. The latter, coupled with Batch Runner Pro's countdown facility makes a handy
  86. musical alarm! You can launch any file type which your system knows how to
  87. handle, .txt, .doc, whatever you like.
  88. NOTE: when running commands using the shellex| mechanism, the result will
  89. always be positive, aka. "Success".
  90. + You can now access the exit code of the previous command with @exitcode, and
  91. use it as a parameter in the next command,
  92. e.g. c:\path\to\app.exe /p @exitcode
  93. + You can now completely disable the Batch control options
  94. (cycle/time/randomize) in the GUI, if required.
  95. + Added a new @token, "@programsdir32", which will get you the location of the
  96. 32 bit Program Files Directory if running 64 bit Batch Runner Pro under 64
  97. bit windows.
  98. ~ Pipe ("|") characters are now transformed coming in and out of the command
  99. list, to prevent folk inadvertently creating "columns" in their list. They
  100. will appear in the list as /broken/ pipe ("¦") characters.
  101. * Fixed width font now used in the command input (doh!). You can also set a
  102. couple of other fonts in the prefs.
  103. * Cleaned up some inconsistencies in the time-stamped log formatting.
  104. * The Command Dialog input will now correctly NOT remember its size and
  105. position if cancelled (Esc, or closed with the "x")
  106. * Fixed a potential issue where empty values in the per-batch options could be
  107. passed to the batch. The expected behaviour is that the default (master)
  108. value is used.
  109. * Fixed an issue where deleted batches could show up in the batches list (if
  110. you deleted the same batch more than once) - the sequential backups were
  111. being missed.
  112. * Fixed the Drag&Drop onto the command input dialog which I recently broke.
  113. The dropped item will once again add to the current command, intead of
  114. destroying it. Note: you can drag multiple items onto this input, too.
  115. * Fixed a bug in the licensing code - BRP was the first app to have my new
  116. licensing code and missed a couple of updates!
  117. The only upshot is that you may need to enter your registration details
  118. again - apologies for that!
  119. Batch Runner Pro 0.9.9.18
  120. + Improved exit logging.
  121. * Fixed a bug I recently introduced, running batches from the command-line
  122. would fail. Sorry about that!
  123. * Fixed a bug where opening the About Box during a background run would
  124. produce an error.
  125. * Cleaned up and enlarged exit codes (and fixed missing ones).
  126. Batch Runner Pro 0.9.9.17
  127. + The architecture is now listed in the About Box (x86/x64) - there's also a
  128. handy Easter egg for folks who click that.
  129. + If Batch Runner Pro's log file gets deleted while it is logging, it will now
  130. start a new log file immediately.
  131. As the deletion is way more likely to happen during a task run than in the
  132. minute space /between/ tasks, Batch Runner Pro also remembers the previous
  133. logged line so that the command log lines (which are written in two parts -
  134. command and result) can be recreated in their entirety, rather than having a
  135. log beginning with "Result: 0 -- success!!!", or whatever.
  136. Batch Runner Pro also begins such new logs with a line indicating that the
  137. previous log was deleted.
  138. ~ Batch Runner Pro will now differentiate between a task-driven abort and user
  139. abort in both messages and logs.
  140. + You can now choose to have Batch Runner Pro NOT abort the main batch tasks
  141. if one or more of those tasks returns a negative (i.e. -1) result, for
  142. programs that erroneously return negative results on success. This can also
  143. be set at the per-batch scope using" opt|" construct, e.g.
  144. opt|halt_on_task_fail=false. When set to false, BRP treats the exit code
  145. like a regular fail.
  146. + You can now also set the halt_on_setup_fail= preference on a per-batch
  147. scope, in case you have one of those erroneously exiting apps in your
  148. batch's setup/wrap-up tasks.
  149. + Finally documented (and added to the ini) the sort_batch_list= preference,
  150. which has always existed but was previously enabled and immovable. You can
  151. now easily disable this behaviour, if required, and instead have your
  152. Batches dropdown unsorted, listed in the same order they appear in your ini
  153. file.
  154. * Fixed a couple of bugs-at-once where responses where expected from my custom
  155. Message Box, namely deleting files where you had delete warnings enabled and
  156. the notification for auto-naming (on multiple drag-and-drop if it is
  157. disabled).
  158. * Fixed a bug where multi-line log separators would have the second line
  159. printed without a timestamp (if you had set timestamp_everything=true and
  160. used "\n" in your log separator)
  161. * Fixed a bug where the timestamp_everything= preference wasn't being reset on
  162. loading new logging prefs (when loading a new batch, for instance).
  163. Batch Runner Pro 0.9.9.16
  164. + During a run, the "Run Batch" button now transforms into an "Abort" button.
  165. Its function is self-explanatory.
  166. ~ Online version checking is no longer performed if Batch Runner Pro was
  167. started as a background task.
  168. ~ The main window should now activate properly at all times when previously
  169. minimized via the minimize button.
  170. * Fixed a bug where viewing the About Box whilst counting down to a batch run
  171. would screw up the batch run timer.
  172. Batch Runner Pro 0.9.9.15
  173. + Countdown timer.
  174. This has been on the 2do list for as long as I can remember! If you
  175. depress the <Shift> key, the "Run Batch!" button turns into a
  176. "CountDown" button. Click it and you can enter a time to wait until
  177. beginning the batch run. The time input format is the same as the Time
  178. Limit input (5{minutes}, 1m, 25s, 2.5h, etc.).
  179. If you have TitleBar time enabled, you see a visual countdown, showing
  180. time remaining until the batch run begins.
  181. Holding the <Shift> key whilst activating your chosen Run HotKey
  182. ("Enter", by default), gets you directly to the Countdown timer input. In
  183. other words, the HotKey for "Run Batch after Countdown" is Shift+Enter.
  184. + Improved minimize button functionality on XP, it now behaves the same as
  185. Win7, hiding BRP cleanly to the tray.
  186. + If you click on the "registered to" email address in the (registered) about
  187. box, <em>and your reg_to= preference is empty</em>, you will be presented
  188. with an input to enter a custom "Registered To" string. Now your reg_to=
  189. preference is not empty.
  190. By the way, you can quickly get to the About Box via the secret HotKey:
  191. Win+Alt+A.
  192. + Batch Runner Pro will now resolve shortcuts (.lnk files) of dropped items -
  193. they need to be shortcuts to suitable file types, of course.
  194. + There is now a single menu item for pause/resume, its function switching
  195. depending on the running state. The HotKey is still easier!
  196. + Cleaned up the sequencing of the title bar messages, and added messages for
  197. those running without times in the title bar.
  198. + Added a new option to the Batches context menu - "Save As AutoRun", which
  199. saves the current batch as a clickable command that will launch Batch Runner
  200. Pro with the current batch, run it and then die. You can also select from
  201. foreground or background operation.
  202. + Improvements to the license registration encryption scheme. Hopefully this
  203. should be the last license re-issue before final release, but no promises!
  204. ~ The splash screen now increments its delay depending on how long you have
  205. been unregistered (won't affect you guys!), up to a maximum of five seconds.
  206. ~ Standardized the TitleBar text - it should make more sense and jump around
  207. less.
  208. * Fixed a bug with the pause/resume functions not working after running a
  209. batch from the tray.
  210. * Fixed a bug with some HotKeys not being properly set after a batch has
  211. finished running.
  212. ~ When viewing the About Box whilst a batch is running, the time paused will
  213. now be correctly deducted from the batch time.
  214. Batch Runner Pro 0.9.9.14
  215. + Some internal clean-ups, code efficiency, the usual sweeps!
  216. + You can now have multi-line log separators if you wish, use "\n" in the
  217. string to get a line break
  218. ~ Minor GUI fixes, menu item improvements, that sort of thing.
  219. * Setting the version check interval to one day will now check once a day, as
  220. expected, not every time Batch Runner Pro runs.
  221. Batch Runner Pro 0.9.9.13
  222. + Online Version Checking - Batch Runner Pro can optionally check for newer
  223. versions of itself and optionally direct you to the download page. You can
  224. specify the interval between checks.
  225. + We now sanitize task name input for illegal characters, to prevent creation
  226. of ini ;comments & [sections] instead of commands!
  227. + Added ability to use custom "registered to" string, instead of showing the
  228. registered email address in the about box. Useful in commercial/industrial
  229. situations.
  230. + You can now specify which kind of linefeed character to use in the logs,
  231. choose from "CRLF", "CR" or "LF" (Windows, Mac or *NIX, respectively)
  232. + Added a minimize button to the main GUI (it's often easier than heading to
  233. the tray!) This is a bit of an after- thought and not fully tested yet
  234. across Windows platforms.
  235. * Cleaned up some minor formatting errors in the logging.
  236. * Fixed a bug where opening the about box when BRP was minimized would place
  237. the about box waaay off-screen where the user would not be able to click it,
  238. leaving BRP in an invisible state.
  239. * Fixed a new issue I'd introduced where you get an extra backup of your ini
  240. file on a new install
  241. Batch Runner Pro 0.9.9.12
  242. + Added "launch" and "launchdie" command-line switches
  243. + TimeStamp ALL lines capability
  244. + pre- and post- tests now also show "running" color while running.
  245. + All colors can be reset at the beginning of a batch run (this is the new
  246. default)
  247. + you can now set default (reset) background and text colors
  248. + New user-specific software licensing scheme
  249. + Optional UTF-8 logging, with or without the BOM
  250. + Background (TitleBar) timer will now also update during pre- and post- tests
  251. (if you have that enabled)
  252. + You can now drag & drop multiple programs onto the task list to create many
  253. tasks at once.
  254. Batch Runner Pro 0.9
  255. The new title says it all. This is a seriously beefed-up Batch Runner,
  256. designed for professional testing environments. The initial changes were
  257. mostly sponsored by the guys over at FEI who use it to help test their
  258. world-renowned electron microscopes. Thank you!
  259. Almost everything is new, here are the highlights..
  260. + "Pre" and "Post" tests.
  261. Batch runner can now run three individual sections of commands, aka.
  262. "tasks". A "Setup" section, which runs before the main batch, and
  263. a "Wrap-Up" section, which runs after the main batch.
  264. These three sections each have their own tab which works almost* exactly
  265. the same way as the old Batch Runner list, except there are now three of
  266. them. (*it now has more functionality)
  267. The names of the sections are also configurable.
  268. + Batch Cycling.
  269. The main batch can now be looped. You can set also the overall duration
  270. of the main batch. Setting a duration of 0 (zero) instructs Batch
  271. Runner to keep cycling the main batch tasks until the user (or some
  272. catastrophically failed task) tells it to abort.
  273. + Random Cycling.
  274. By "random", I mean computer-generated random, which would be pseudo-
  275. random. You probably don't have the computing power for truly random
  276. numbers, if such things can even be actually generated. However, it's
  277. "random enough" for our purposes, enabling you to create more realistic
  278. test suites.
  279. NOTE: This even works if you are /not/ cycling the batch, Batch Runner
  280. will run through the tasks randomly until every task has been completed
  281. ONCE (unless the times runs out in the middle, of course).
  282. Also note, Batch Runner can disable the randomize option so it won't
  283. appear in the GUI - this prevents undernerdlings from accidentally
  284. altering your batch's randomize settings, be they enabled or disabled in
  285. the global or per-batch scope..
  286. + Per-Batch Options.
  287. The cycle, randomize and time limit preferences, available inside the
  288. main Batch Runner GUI, each have a "master" and "per-batch" setting. New
  289. batches, or batches without their own options, inherit the master
  290. settings. Any changes you make to these settings when a batch is loaded,
  291. get stored (and loaded again) along with the batch.
  292. If you would like to see some other setting available in the per-batch
  293. scope, let me know.
  294. + Counters.
  295. While cycling the main batch, Batch Runner will keep a tally of the
  296. total number of times a task has completed, as well as the number of
  297. times a task failed (returned a non-zero result). These tallies are
  298. updated live in the GUI and log during a batch run. A simple summary of
  299. passes/fails/errors is also saved in your log.
  300. + Color-Coded Live Results
  301. Batch Runner can color-code the main batch display so you can see, at-a-
  302. glance which tasks have succeeded, which have failed, which have failed
  303. more than once and which, for some reason outside Batch Runner's control,
  304. wouldn't run at all. The pre-configured colors are:
  305. Green: Success
  306. Red: Fail
  307. Purple: Multiple Failures
  308. Pink: Catastrophic failure (abort condition)
  309. Yellow: Unable to run command.
  310. Note, we avoid blue, which can be hard to distinguish from the Windows
  311. standard theme selection color.
  312. These colors can, of course, be configured in your prefs. If you want to
  313. use red for everything except success, fine. You can also set default
  314. (reset) colors for text and background.
  315. So the list has to now display report colors /and/ selection colors.
  316. Here's how to easily see both..
  317. To view the current selection, simply activate the list. The easiest way
  318. to do this, without destroying the actual selection, is to click on the
  319. column headers.
  320. To see the report colors again, simply click outside the list, for
  321. example, in the batches drop-down. Deselecting a row (Ctrl+Click) also
  322. reveals its report colouring. Note, even in report view, you can quickly
  323. deselect an item with a Ctrl-Click.
  324. Because of this simple functionality, if you are working with selections
  325. and click "Run Batch", the list immediately switches to report view so
  326. you can watch all the pretty colors.
  327. You can also instruct Batch Runner to ignore any current selections and
  328. always run /all/ the tasks in the batch. Whatever your working style,
  329. Batch Runner Pro has an option!
  330. + CountDown Timer.
  331. If you depress the<Shift> key, the "Run Batch!" button turns into a
  332. "CountDown" button. Click it and you can enter a time to wait until
  333. beginning the batch run. The time input format is the same as the Time
  334. Limit input (5{minutes}, 25s, 2.5h, etc.).
  335. If you have TitleBar time enabled, you see a visual countdown, showing
  336. time remaining until the batch run begins.
  337. Holding the <Shift> key whilst activating your chosen Run HotKey
  338. ("Enter", by default), gets you directly to the Countdown timer
  339. input. In other words, the HotKey for "Run Batch after Countdown" is
  340. Shift+Enter.
  341. + Windows Standard List Selection Behaviour!
  342. Unlike regular Batch Runner, Batch Runner Pro uses a ListView control to
  343. display the tasks (the old ListBox couldn't DO enough). This major
  344. overhaul to the GUI has brought with it many benefits (and a lot of
  345. work!). One of these is that you can use standard Windows Crtl+, Shift+
  346. and Ctrl+Shift+ modifiers to select and deselect commands in the task
  347. list.
  348. + Error-Level Actions.
  349. Batch runner can respond in two ways to commands returning failure
  350. (non-zero) results. Either a) Notify & Log the error and continue
  351. (positive return values) or b) Notify & Log the error and abort the
  352. batch run immediately (negative return values), move on to wrap-up
  353. tasks.
  354. + Live Logging.
  355. Rather than dump a log file at the end of the entire operation, Batch
  356. Runner will now update the log with each task, enabling you to keep an
  357. eye on the results. Even the current task will be in the log, minus
  358. result, of course.
  359. It should be noted that logging preferences are loaded fresh for each
  360. run so if you make some change to your logging preferences, it will take
  361. effect as soon as you begin a new log - no need to restart Batch Runner.
  362. + Log Timestamps.
  363. Each log entry can be prefixed with a Time-Stamp. You can also configure
  364. the separators for this, if you desire. You can also have Batch Runner
  365. Pro TimeStamp only the command lines or *all* the lines, the former
  366. being more readable by humans, the latter by machines.
  367. Quite a few other aspects of log output are now also configurable, as
  368. well as more intuitive and easy-to-use, a lot more information is
  369. logged. See your automatically-updated ini file and generated log for
  370. more details!
  371. And don't forget you can use @Tokens in the log name, so you can have
  372. Time-Stamped log names, too, right down to the millisecond. Or auto-
  373. append existing logs, or automatically order them into time-stamped
  374. folders, or a combination, whatever suits you best.
  375. You can also specify UTF-8 logging, with or without the BOM, as well as
  376. which kind of linefeed character to use; "CRLF", "CR" or "LF" (Windows,
  377. Mac or *NIX, respectively).
  378. + The View Log menu item will now work from the moment a log is created,
  379. so you can easily get to your log from Batch Runner's tray menu. If you
  380. select a new batch for which a log already exists, again, the menu item
  381. will be available immediately - no need to go fishing about in your file
  382. system.
  383. + Configurable executable types.
  384. You can drag and drop .bat, .com, or whatever you like; as well as
  385. regular .exe files, of course) onto Batch Runner's list to automagically
  386. add new tasks. Previously you could only drop .exe files. You can use
  387. whatever you like when entering commands with the add command dialog.
  388. + Smart Auto-Size Columns.
  389. Batch Runner does a pretty good job of auto-sizing your columns to fit
  390. the content into the GUI, and importantly, keeping them that way when
  391. you resize the window. You can also override the size of the counter
  392. column and let Batch Runner do the rest, or disable this, and keep your
  393. column widths static no matter what you do to the GUI.
  394. You can drag the columns around (by their headers) to re-arrange them.
  395. + Title Bar Timer.
  396. This is optional, of course. Batch Runner will update the time, live,
  397. for the entire duration of the batch run, even during long tasks.
  398. + Duplicate and Rename Batch options added to the Batches Drop-Down.
  399. + Advanced GUI Controls For Advanced Users..
  400. A new user, looking to create a new batch will click the "New Batch"
  401. button and be presented with a dialog in which to enter a name, <OK> and
  402. they are done. Fair enough.
  403. An advanced user will type the new name directly into the control and
  404. /then/ click the "New Batch" button. The new batch is created and
  405. displayed instantly, bypassing that tedious dialog altogether.
  406. Same story for the Rename and Duplicate batch controls. More time-saving
  407. features for folk just looking to get the job done!
  408. + New HotKeys:
  409. <NUMPAD+> = Add new task
  410. <Delete> = Delete the currently selected task(s)
  411. <Enter> = Run the current batch
  412. <Pause/Break> = Pause/Resume batch run
  413. <Ctrl+A> = Selects all tasks in the list
  414. <Ctrl+L> = View log file for current batch
  415. <Ctrl+P> = Edit preferences (ini)
  416. <NUMPAD-> = Abort batch run
  417. You will probably spot how batch run control is all together at the
  418. right hand side of the keyboard. Not being entirely sure how handy this
  419. is on Tenkeyless keyboards, I made those keys configurable. Knock
  420. yourself out!
  421. + Portable Batches.
  422. Batch Runner has always had the capability of running in a portable
  423. state**. Now, so can your batches! Batch Runner will automagically and
  424. transparently transform paths of commands within the batch runner folder
  425. (or sub-folder). This won't interfere with drag and drop commands or
  426. clipboard paths but will enable you to distribute entire test suites,
  427. batch runner included, setup and ready-to-go,
  428. ** Note: Batch Runner has now inherited my "portable" switch. If you
  429. use this on your first run, Batch Runner will setup itself to run in
  430. portable mode, which basically creates a new ini file in the program's
  431. folder and sets that as the logging location. If you do it with an
  432. already-installed Batch Runner Pro, rather than create a new ini, your
  433. existing ini will be moved to beside the .exe.
  434. + Run Single Commands.
  435. Added batch list context menu option to run the currently selected
  436. command. Just like running the main batch, you get a color-coded
  437. result in the GUI - handy for testing commands. Note, Batch Runner
  438. will not attempt to hide the windows of launched processes during
  439. a single command run, even if that is the default setting for batches.
  440. + Re-ordering of tasks. Select "Edit List" from the list's context menu
  441. to get a dialog where you can re-order and sort your task list.
  442. + You can now drag & drop multiple programs onto the task list to create
  443. many tasks all-at-once. Enable auto-naming for maximum productivity..
  444. + Auto-Name Tasks:
  445. If you have a lot of commands to add, or have no need for names for your
  446. tasks, you can enable auto-naming, and let Batch Runner take care of it,
  447. dragging and dropping to your heart's content!
  448. + Backward-compatible with old Batch Runner batches. Batch Runner Pro will
  449. update your ini file with all the new preferences and features, leaving
  450. your old settings and batches intact, automatically.
  451. + Both 32 and 64 bit versions available.
  452. + Added a new "launch" command-line switch you can use to launch a batch
  453. in the GUI from the command-line.
  454. c:\path\to\Batch Runner Pro.exe launch <Batch Name>
  455. Also "launchdie" which does exactly the same as "launch" except, you
  456. guessed it, dies at the end of the batch run (assuming it ends).
  457. + More command-line options:
  458. You can still run and load batches from the command-line. But now you
  459. can create them, too. Simply send the name of your new batch on the
  460. command line and have it created and loaded, ready to accept new tasks.
  461. c:\path\to\Batch Runner Pro.exe My-New-Batch
  462. You can also use this same functionality, as ever, to load existing
  463. batches directly into a newly launched Batch Runner Pro GUI.
  464. When loading or creating batches in the GUI from the command-line,
  465. it's usually best to enclose any batch names containing spaces in
  466. "quotes", e.g..
  467. c:\path\to\Batch Runner Pro.exe "My New Batch"
  468. This isn't necessary when running batches from the command line with
  469. "launch", "run" or "launchdie", this would be fine..
  470. c:\path\to\Batch Runner Pro.exe launch My New Batch
  471. + Auto-Refreshing Log:
  472. During long tasks, Batch Runner can keep your log file updated, which
  473. can be useful when incorporating with other systems. A refresh interval
  474. can be set, after which time, Batch Runner Pro will append a simple "."
  475. (dot) to the current log line (altering its update time, size and
  476. checksum). When the task is complete, these dots are removed and the
  477. result takes their place, as if nothing happened.
  478. + Batch Runner Pro is the first program to adopt my new software licensing
  479. model. From your side of things, the biggest change is that everyone now
  480. gets their own specific key. Also it's a lot easier to enter!
  481. You can now also get to the registration dialog by clicking the Batch
  482. Runner logo in the About Box. <Shift>+Click to force up the dialog if
  483. you went to re-register for any reason. Click the registered-to address
  484. for custom options.
  485. By the way, you can quickly get to the About Box via the secret HotKey:
  486. Win+Alt+A.
  487. + Online Version Checking - Batch Runner Pro can optionally check for
  488. newer versions of itself and optionally direct you to the download page.
  489. You can also specify the interval between checks, which are performed
  490. when Batch Runner Pro quits. The first time it attempts this, it will
  491. ask you to specify the interval between checks, in days. If you wish to
  492. disable version checking altogether, enter 0. It is nifty, though!
  493. + Added a minimize button to the main GUI (it's often easier than heading
  494. to the tray!)
  495. + LOTS of under-the-hood improvements both inside and out. If it's possible
  496. to anticipate a user behaviour or best option, Batch Runner Pro will. If
  497. there is some way to shave seconds off your workflow, Batch Runner Pro
  498. will do it.
  499. For example, if you delete a batch from the batches drop-down, Batch
  500. Runner Pro won't simply load the next batch, it will load the /previous/
  501. batch, up to a total of one hundred batch selections being remembered
  502. internally. Every little helps!
  503. + MANY new options in your ini file, things once hard coded are now
  504. preferences, enjoy!
  505. + Added a new option to the Batches context menu - "Save As AutoRun",
  506. which saves the current batch as a clickable command that will launch
  507. Batch Runner Pro with the current batch, run it and then die. You can
  508. also select from foreground or background operation.
  509. + Batch Runner Pro will now resolve shortcuts (.lnk files) of dropped items.
  510. ~ There is now a single menu item for pause/resume, its function switching
  511. depending on the running state. The HotKey is still easier!
  512. * Fixed a potential log path issue which could kick in if you used a very
  513. long log name in a very short path.
  514. Batch Runner FREE:
  515. 0.6.5
  516. + Batch Runner will now check for potential looping conditions. While
  517. this is unlikely, it is possible to run, for example, a command that
  518. runs Batch Runner with the command that runs Batch Runner with a
  519. command that runs Batch Runner, and so on, and do nothing except spawn
  520. zillions of instances of Batch Runner. Eventually, this could bring
  521. the system down.
  522. Now you can set a limit in your preferences, up to a maximum of ten
  523. instances.
  524. 0.6.3
  525. + Added a "View the Log" option to the system tray menu, which activates
  526. once a log has been created, and will always load the most recent log
  527. into your preferred editor.
  528. + Batch Runner will now create (up to 9) sequential backups of deleted
  529. batches inside the ini file (if you create and delete another batch
  530. with the same name).
  531. 0.6.2
  532. * Fixed a bug where deleting all the batches would incorrectly set the
  533. current batch to a deleted batch. Also, Batch Runner could be fooled
  534. into loading its own preferences as a batch, if you set them as the
  535. "current_batch". It should now be impossible to fool Batch Runner into
  536. loading such a batch, non-existent batches, etc.
  537. ~ Attempting to add a new command when there are no batches will now
  538. first bring up the "New Batch" dialog, so you have something to add
  539. the command to.
  540. 0.6.1
  541. + Batch Runner now uses a different tray menu while running commands.
  542. + The tray icon now flashes during batch runs, to let you know it's
  543. active (in both gui and background mode).
  544. + Added Pause, Resume and Abort menu items to the System tray menu that
  545. appears during batch runs - kinda essential, really. During pause, the
  546. tray menu icon stops flashing.
  547. + You can now drag and drop programs directly onto Batch Runner's main
  548. command list.
  549. + Added "Delete" HotKey to delete the selected commands from the list.
  550. + Batch Runner now checks for out-of-desktop dimensions, and fixes them
  551. automatically.
  552. + Added an "Edit Preferences" option to the tray menu - you can set your
  553. preferred editor in the prefs, too.
  554. ~ Started a habit of making all message boxes run as children of the main
  555. GUI so there's only one taskbar entry during warnings and such. It's
  556. something I've not really considered before - I usually click such
  557. things immediately away. This is tidier.
  558. + Cleaned up some of the dialogs and what-not, correct icons, modality,
  559. window titles, and so on.
  560. + Added "beep" option to have an audio alert when the batch is complete.
  561. This might be useful when running batches transparently, with no GUI.
  562. Options..
  563. false no audio
  564. true use default PC speaker beep at 1000Hz
  565. <number> beep PC speaker using this frequency (in Hz)
  566. <file path> play this WAV file
  567. + Added more exit codes - handy if running Batch Runner from inside
  568. Batch Runner, scripting it, or whatever..
  569. 0 Normal termination
  570. -9 User hard quit from tray.
  571. -1 One or more of the batch's commands failed
  572. (exited with an error state)
  573. 5 Chosen batch is missing or invalid (in background mode)
  574. 171 Missing ini file (and couldn't create one)
  575. 0.5 [first public release]
  576. + Added <enter> hotkey to the add & edit inputs - more intuitive.
  577. + Incorporated a few more of my usual app "features"; namely, auto ini
  578. updating (leaves existing batches and settings intact), optional
  579. portable operation, ini @tokens, etc., as well as lots of associated
  580. functionality, auto-log folder creation, and so on. I also created a
  581. new token; @batch, which translates to the name of the batch being
  582. run, as well as a couple of new date & time tokens, @date and @now.
  583. + Added context menu to the combo drop-down, with "reload" option - only
  584. really useful if you have only one batch, and add a batch to the ini
  585. manually, and want it to show in the menu.
  586. + Added a "Reload list" option to the list's context menu.
  587. + Expanded command-line options to include the "run" keyword, which
  588. invokes Batch Runner to immediately execute the current batch and
  589. exit. You can also specify a batch on the command-line (spaces in
  590. batch names are okay). e.g. to run "foo bar batch" immediately, do..
  591. C:\Path\to\Batch Runner.exe run foo bar batch
  592. + When you specify the "run" switch, Batch Runner launches as a background
  593. process, runs the specified batch, and then exits. No GUI is created.
  594. It perhaps doesn't go without saying that as well as scripting and
  595. scheduling Batch Runner, this means that you can run instances of
  596. Batch Runner from *inside* Batch Runner, as Batch Runner commands.
  597. Think about it. ;o)
  598. + Batch Runner will now return a valid exit code on exit. If all was well,
  599. the exit code is 0. -1 means one or more of the commands had an exit
  600. error. The individual application errors will be in the log, if created.
  601. * Fixed a bug where the normal tray would appear in background mode; there
  602. is now a separate tray menu for this, with one item - Exit, which will
  603. quit Batch Runner after the current command completes.
  604. + The current running command is now displayed in the System Tray ToolTip.
  605. 0.4
  606. + Added delete warning messages, and ini options (you can switch them off).
  607. + Added help ToolTips, and an option to disable them, if required.
  608. + Batch Runner will now select all the commands in a newly selected batch,
  609. so it is ready to run. This behaviour can also be disabled in the prefs.
  610. + Added drag+drop to the add/edit dialogs, as well as cool height snapping.
  611. + Added Tray toggle and tray menu (about, exit & run batch)
  612. + The gui controls will now grey out during batch runs, to avoid potential
  613. confusion and mishaps. Also the tray icon becomes unclickable.
  614. + Added backup for deleted section (they are renamed "deleted-section")
  615. and will no longer display in the drop-down (though remain in the ini,
  616. just in case). If you want to completely delete a batch, you must do
  617. this in the ini.
  618. * Editing commands no longer loses the command's selection in the list.
  619. 0.3
  620. + Added more buttons, New Command, New batch, and an edit command for the
  621. list's concept menu, as well as the dialogs to handle these.
  622. + A few minor improvements to the gui, spacing, control resizing and such.
  623. The gui now has a minimum size it will snap to if you make it too small.
  624. * I fixed the window size drift. That always annoys.
  625. + Batch Runner can load-up a new default batch on the command-line, e.g..
  626. C:\Path\to\Batch Runner.exe My Batch
  627. 0.2
  628. + Added list concept menu - now you can delete and select commands from
  629. the menu. Added preferences for height, position, etc., which are saved
  630. to the ini file.
  631. + Lists are a pain. I'm gonna be using the UDFs for this one!
  632. 0.1
  633. Basic batch running - a list, a drop-down, and a "Run batch!" button.
  634. All editing is via the ini file. Batch Runner also does basic logging.
  635. *

Welcome to corz.org!

I'm always messing around with the back-end.. See a bug? Wait a minute and try again. Still see a bug? Mail Me!