- WINDOW-CLOSER - VERSION 1.1 -
!!! NODE-RUNNER WINDOW-CLOSER - CLOSE "ANY" WINDOW AND WAIT FOR IT TO CLOSE !!!
!!! IF THE APPLICATION WON'T CLOSE - TERMINATE ITS PROCESS !!!
Close "any" On-Screen window using the "Window Name / Window Title", and optionally wait for the underlying process "exe" to unload before automatically closing.
This software is intended to be run either from NODE-RUNNER.bat Command .bat Script, or by a scheduler, eg Windows Scheduler.
Run and Configure WINDOW-CLOSER before activating any scheduler...
Setup your Scheduler to run WINDOW-CLOSER for whatever time you need to stop an On-Screen application.
Perform a Test-Run to make sure WINDOW-CLOSER works against your application - eg WINDOW-CLOSER successfully closes your specified application.
Should Be Job Done.
An application can be closed using either:
1 - An "Internal Windows Close Function" command.
2 - A "SendKeys - ALT - F4" command that simulates the PC Keyboard keys "ALT" and "F4" being pressed.
( "ALT" and "F4" pressed together is the universal "Application Close / Exit Request" Shortcut Key Combination that should work for "all" software applications).
NOTE - Most "Core Wallet" Software DOESN'T seem to respond to the "Internal Windows Close Request" command, and will only accept the "SendKeys" command.
I think this is because most "Core Wallet" Software is built on the "QT Framework" and either doesn't understand or accept the "Windows Close Request" command, or VB6 or the VB6 code used doesn't work correctly for some reason... I have tested against Windows Calculator and Windows WordPad without any problems, so, yeah...
NOTE - If the application being closed crashes or whatever, then the underlying "exe" process may not end, in which case, if WINDOW-CLOSER is configured to "Wait for Process", then WINDOW-CLOSER WON'T CLOSE EITHER !!!
"WINDOW-CLOSER - VERSION 1.1" has Active Process Termination Functionality to allow the underlying Windows Process for the application being closed to be Terminated, either manually, or through an inbuilt 5-Minute Timer.
"WINDOW-CLOSER - VERSION 1.1" also allows for an unlimited amount of configurations, achieved through storing the configuration settings in the Windows Registry under the name of the filename used to run "WINDOW-CLOSER"... So...
!!! - Spaces in filenames ARE allowed - !!!
!!! - Standard Windows Installations are usually configured NOT TO SHOW FILE EXTENSIONS in the File List Window - !!!
I have tested WINDOW-CLOSER with the following "Core Wallets" - ONLY "SendKeys ALT F4" works: