Rob van der Woude's Scripting Pages

News Page

On this page I'll report on changes to my web site or related news items.

Don't expect a full-blown weblog, more like a list of highlights in shorthand.

For a file based list of changes look at the What's New list.


• Several new Powershell snippets were added.


• The RUNDLL32 page has been updated again: you can now use filters and highlights to find commands by category.
• Francesco corrected an error in the PowerShell command line in the "Find RUNDLL32 commands yourself" section: the ForEach-Object now uses the proper curly braces.
While at it, I also included the "pure" PowerShell commands, for PowerShell 5 as well as 7.

Thanks Francesco
• I added a Powershell snippet to get the path of the current wallpaper, found at GitHub Gist.


• Site Search works again, with a little help from my friends...



• I added a new PowerShell Snippet using USER32.DLL' GetSystemMetrics method to check if the mouse buttons are swapped.
The code is based on sample code by Frode F. on

Thanks Frode


• I updated my login scripts page.
• I updated and restyled my RUNDLL32 page.
• I added new PowerShell Snippets to check for elevation.
• I restored the Site Search link in the menu: though I cannot confirm it myself, it seems to work for some visitors.
Work in progress...


• I added PowerShell code snippets to my login scripts page.
• I removed the Site Search link from the menu because no longer supports it.


• I added new PowerShell and C# snippets to open Windows settings using Windows 10's ms-settings URI scheme.


• Another minor update for Hardware.hta: when running without elevated privileges, the HTA will use Internet Explorer, ignoring the /NOIE setting.


• A minor update for Hardware.hta: when you right-click a field its content will be selected, allowing faster copy and paste of individual fields.
• A bug-fix for Edit.bat: it will now work correctly in Windows 10.


• Up till now, Mause.exe (Mouse enabled pAUSE) would read keys froms the keyboard buffer, unlike the real PAUSE command.
This behaviour has now been corrected, the updated version of Mause.exe flushes the keyboard buffer when it is started, and then waits for keyboard or mouse input.
To make it accept keys from the keyboard buffer again, use the optional /N switch.
The code to flush the keyboard buffer was provided by gandjustas on

Thanks gandjustas


• A bug in CaptureDate.exe has been fixed: it should now handle relative paths correctly.


ScrollLockIcon.exe has been released.
It was derived from CapsLockIcon.exe but uses a slightly different approach to read the ScrolLock status: System.Windows.Forms' Control.IsKeyLocked( Keys.Scroll ) vs System's Console.CapsLock.


• A new optional timeout feature has been added to Mause.exe.


Mause.exe is a Mouse enabled pAUSE command: use it like the ordinary PAUSE command, allowing the user to either press any key or click with the mouse or move the mouse wheel.
This program relies heavily on the ConsoleListener class by SWdV.

Thanks SWdV


• Like CapsLockIcon.exe, NumLockIcon.exe also has a new feature: hide when OFF.
It will optionally show the NumLock icon in the Notification Area only when NumLock is ON.


CapsLockIcon.exe has a new feature: hide when OFF.
It will optionally show the CapsLock icon in the Notification Area only when CapsLock is ON.


• A bug in InputBox.exe has been fixed: the input field now gets focus when the dialog is loaded.
Previos attempts to accomplish this had failed, setting the input field's TabIndex property to 0 did the trick.


BatCodeCheck has been updated: Thanks Alfons


• A bugfix for Hardware.hta: it should now properly restore its window a couple of seconds after startup.


• Often, these days, computer related support has to be done remotely.
Due to travel restrictions and overcrowded parks in Amsterdam, a friend of mine who is not quite computer-savvy, to put it mildly, spends most of her weekends photographing and filming birds on the balcony of her appartment.
Some of her bird videos turned out to be rotated, however, and we spent many hours before we found out how to use VLC Media Player to rotate and save the video... certainly not for the faint-of-heart!
Being convinced there must be an easier way, preferably command line, I went on searching until I stumbled upon a solution using FFMPEG instead of VLC to rotate (and save) videos.
Rather than trying to make my computer-illiterate friend type the correct commands, I wrote a simple HTA wrapper: RotateVideo.hta.
Since these videos are to be uploaded to various social media sites, I anticipated having to resize the videos as well, so I also wrote ResizeVideo.hta as a wrapper for the required FFMPEG commands, which I found in this helpful article by Akshay Rajeev.
Thanks Alexy and Akshay



Archived News pages
Archived news from 2020
Archived news from 2019
Archived news from 2018
Archived news from 2017
Archived news from 2016
Archived news from 2015
Archived news from 2014
Archived news from 2013
Archived news from 2012
Archived news from 2011
Archived news from 2010
Archived news from 2009
Archived news from 2008
Archived news from 2007



page last uploaded: 2021-11-28, 15:54