@jobriwterr I didn't fully understand you, the clipboard is shared by the entire PC, so if you work on that PC and use the clipboard in your work it can cause problems. If you are using multithreading then you should use the clipboard one at a time, this can be implemented through thread locking using global variables.
Remote restart in BAS
-
@Detected said in Remote restart in BAS:
Is there any way I can do this remotely?
I do not see any problem here.
Here's the workflow:
- You make some changes to the BAS script.
- You deploy the updated script to a location on the internet.
- On every Windows host running some custom script, there is a process that checks whether the script on the internet has been updated or not.
- If the script detects an update, it clicks the stop button in BAS, waits for the current process to finish, and then restarts it.
Such a script can be implemented using tools like Microsoft Power Automate, pywinauto, or any other similar automation tools.