Scripting can be stopped from the task manager.
However, scripts that constantly focus program windows using .AppActivate can make it difficult to access the task manager — you and the script will struggle to control it. Therefore, I recommend writing a script (which I call self destruct for obvious reasons) and making a key combination to activate the script.
Self Destruction script:
Option Explicit Dim WshShell Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "taskkill /f /im Cscript.exe", , True WshShell.Run "taskkill /f /im wscript.exe", , True
Keyboard shortcut: rightclick on the script icon, select shortcut creation, rightclick on the script icon shortcut, select properties, click on the quick access link and make your own.
enter your key combination and all scripts will complete. Greetings
source share