Running multiple separate scripts simultaneously

Asked by Bozhidar Tenkov

I'm trying to run a script for a browser game but I want to run more than 1 at a time and I want to still be able to use my computer for other things. I've tried running the scripts in separate virtual machines and that works but I want to know if there is another easier or less resource intensive way to do this .

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
Best RaiMan (raimund-hocke) said :
#1

virtual machines is the easiest way.
Another way might be programming a subprocess scenario, where mouse and keyboard usage are coordinated between the subprocesses. Very challenging and hence not a feature of SikuliX.

When scripts are running on a real machine, you cannot use the machine for normal work. You have to live with that.

Revision history for this message
Bozhidar Tenkov (windslashking) said :
#2

OK. Thanks .

Revision history for this message
Simon Plivav (simpliv742) said :
#3

Hi BT, I am interested in what you wrote as "I've tried running the scripts in separate virtual machines and that works...". I thought SikuliX needs a hardware screen to work. So, when you ran your VMs, did you have a corresponding number of computer monitors hooked up, or did you split a screen into subscreens for each VM and worked with those regions?

Best!
Simon

Revision history for this message
Bozhidar Tenkov (windslashking) said :
#4

I didn't use any additional monitors or anything special at all . I just run the VM and minimize it and it works perfectly. If it's not working for you maybe you can try a different hypervisor . I'm using VMware Workstation 16 Pro