News Archives 2023 Q1
• A major update for ProgressBar.exe
: it now accepts both positive and negative values, and features an optional alternative color for "sub zero" values.
reads power consumption or feed-in from a Youless LS120 device and displays the result in a horizontal bar (requires ProgressBar.exe
• A minor update for Hardware.hta
: Steve Robertson reported that the default theme was not
changed to Black-and-White despite being mentioned in the change log, and found some "non-fatal" coding inconsistencies.
had a major update: see its Change Log
Many thanks for Steve Robertson, who spent a lot of time and effort in testing and debugging!
• And yet another update for GetDefaultBrowser.bat
: it will now return the default browser name as well as its executable path.
has been updated: its optional command line switches filter the output to hostname only (
), IPv4 address only (
), IPv6 address only (
) or MAC address only (
• And another update for GetDefaultBrowser.bat
: it will now return the true user's choice for the default browser.
Thanks to Joe Caverly and Steve Robertson for providing the registry value locations
is an attempt at reading the default browser from the registry in Windows 10.
Not as easy as it used to be in Windows XP 😕
Version 3 is a completely rewritten script to return the host name and IPv4, IPv6 and MAC addresses for the specified computer (specfied by name or IP address).
had a minor update again:
- The "MS Help" button caption was changed to "Help online".
- The associated search query is now limited to
• Another bug in CheckVarsVBS.exe
has been fixed:
- it would find unused subroutines and functions, but not count them
had a minor update:
- The "MSDN Help" button caption was changed to "MS Help".
- The associated search query is now limited to
learn.microsoft.com instead of
• Two bugs in CheckVarsVBS.exe
have been fixed:
- it now correctly detects unused functions
- no more false positives about casing of
window_onunload event handling routines in HTAs
had another update:
- Start it without expression (
/DEBUG still allowed) to open an interactive console, where you can enter as many expressions as you like.
When in the interactive console, you can toggle debug mode, and list available operators, constants and functions.
- Functions are no longer case sensitive, and can now be used with or without the
- Constants remain case sensitive, so use either
Math.E and either
has been almost completely rewritten:
- the .NET Math class is used to evaluate
Math.* functions (the .NET Math class has more functions than JScript Math)
- the JSCript evaluator is used for "ordinary" numeric calculations
- the help text has been rewritten to show an example for every available
- the downloadable version is compiled for .NET Framework 4.5, you can recompile it for higher versions to get access to even more Math functions
- splitting the input expression into chunks that can be evaluated by either .NET Math or JScript required many regular exprerssions and a lot of debugging; though ClCalc has been tested rigorously wit nested Math functions (e.g.
pi / Math.Acos( Math.Pow( 0.5, 0.5 ) )), not all possible combinations could be tested, and some might still fail
- in case of failed calculations, add a
/DEBUG switch to the expression on the command line (location irrelevant) to check intermediate calculations, and see where a calculation error occurs
• Another update for ClCalc.exe
- A bug was found: when
Math.pi (with lower case
pi) was used instead of
Math.PI, it would be translated to
Math.Math.PI, resulting in errors.
The same for
This has been fixed, with the added advantage that
Math is no longer case sensitive — though its functions still are!
- I added a
Random (not case sensitive) without parameters returns a floating point number between 0 and 1
Random( min, max ) returns an integer between
min (inclusive) and
max (exclusive) — provided
max are both integers and
min is less than
max, otherwise an error message is returned
has been updated:
e may now be used instead of (or besides)
- a list of available functions has been added to the help text
- as this list is a subset of the one from .NET's Math class, a link to .NET's Math functions is included in the help text
has been updated: no change of functionality, but its command line handling has been simplified, it has been recompiled for any
processor, and last-but-not-least several examples have been added to its help text.
• Several bugs were fixed and some new features added in Hardware.hta
Steve Robertson reported more bugs and typos in 8.03, and he suggested to look for multiple video controllers instead of assuming just one; and I used his VBScript code to get the correct amount of video RAM for internal video controllers.
is a new batch tool to present customizable GUI style progress bar dialogs in batch files.
Because its usage is far from intuitive, and the help text may not be enough to get you started, the program can write 2 demo batch files to the current directory when run with its optional
• I'm just recovering from a serious flu attack, so there is quite a backlog to clear...
Please have patience.
• More bugs in Hardware.hta
8.02, reported by Steve Robertson, have been fixed in 8.03.
See the HTA's changes list
• Several bugs in Hardware.hta
8.00, reported by Steve Robertson, have been fixed in 8.01; these bugs were caused by "
On Error Resume Next
" lines that were "commented out" (I do that during development, as I don't want to miss any error message while debugging, but last time I forgot to restore them before releasing the update).
• One more bug in Hardware.hta
8.01, also reported by Steve Robertson, has been fixed in 8.02: very long property names will no longer be truncated in the Details windows.
• I wish you all a happy 2023.
page last modified: 2023-08-06