SRL Archive - Help

Run multiple scripts?


sickle

2012-10-12 11:43:46

To add another layer of randomization, is there a way to tell SMART manager or some other way to run script A and then when it gets stuck or reaches the 6 hour limit, run script B, and then C, and then back to A, etc?

In short, how can you make it run script A and then script B?

litoris

2012-10-12 11:50:43

You could make them into a single script, you might need to change the variables a bit so that they don't overlap, but you wouldn't need to change much. Just creating a new mainloop that alternates between them would be enough.

Olly

2012-10-12 12:59:44

Have another simba open that will stop the current script and start the other! :P

Grand

2012-10-12 16:50:49

can't you run two scripts or threads so you can read input in the other?

and have them share variables…?

slushpuppy

2012-10-15 10:39:43

Create multiple cmd files for each of your scripts containing

C:\Simba\Simba.exe -o C:\Simba\Scripts\SCRIPTNAME.simba -r


After that, encapsulate


procedure startnextscript;
begin
SmartKillClient(SmartCurrentClient);
OpenWebPage('pathtocmd');
terminatescript;
end;

........

begin
SRL_Procs[srl_OnRSUpdate] := @startnextscript;
end.



On the flip side, after couple of days, you should have tons of simba executables running in your desktop xD