I’m currently running a pyautogui script on 5 virtual machines (vmware). Now I want to top that up. I want to run ±15 scripts on just one computer. I don’t think it’s very healthy for my computer to run that many virtual machines. So I’m looking for an alternative of a virtual machine. Something like a window that you can open, run the script in it, minimize the window and let it run in the background.
I’ve already found a program called “DexPot” which is a virtual desktop program but unfortunately every window/desktop uses the same mouse. So when I have one desktop open and minimize it, the script will run on the next desktop.
Help much appreciated, been looking for so long now !
Let me know if you are seeing issues with this approach.
Another option would be to use multiple RDP sessions with a single windows instance. Each RDP session gives you a separate desktop with its own mouse and keyboard. But this approach is likely more complicated than Windows Sandbox because it is not as well supported by microsoft. If you want to try this, have a look at Multi instances Support
There is another way to run many bots on the same (virtual) machine. Using input focus scheduling, you can avoid the bots interfering with each other’s inputs while running in parallel. How many you can run in parallel this way depends on the saturation per bot, meaning how many percent of the time it needs to send input. (You can check this for any of your app sessions in devtools)