-
-
Notifications
You must be signed in to change notification settings - Fork 200
Description
Describe the bug
When running the script with the UI option clicking/dragging the UI window while the script is processing can display "Not Responding" on the UI window title bar
To Reproduce
Run any of the tweaks and attempt to move or click the UI while processing
Screenshots
Solution
Simply DO NOT click/drag/attempt to interact with the UI window while running the selected options.
If you run into this error there is nothing wrong just wait and the msg will go away once the code is finished.
Context
A limitation of PowerShell is running code on different threads, the UI and actual removal code are running on the same thread resulting in the Not Responding error. This can be fixed with runspaces or jobs but would require the whole script to be rewritten. This would not make any sense since the UI does not need to be used while the code is running its simply for visual feedback.