Yes it will! Interscar messaging, Here get this. One script is running, a repeat and the other script, once it finished Sends a message. Here is an example.
Put
SCAR Code:
program New;
{.include srl/SRL.scar}
Procedure WriteLnExample;
begin
SendInterScarMessage('Second', 'Not Ready');
Wait(1000);
WriteLn('Just for an Example');
wait(1000);
WriteLn('Write a couple mroe things');
wait(1000);
WriteLn('Ok now we are done');
wait(1000);
end;
Procedure TellOther;
begin
SendInterSCARMessage('Second', 'Start');
end;
Procedure WaitForReply;
begin
Repeat
Wait(1000);
WriteLn('Waiting For Reply');
WriteLn(TheTime);
Until(ReadInterSCARMessage('First') = 'Good To Go');
WriteLn('Recieved Reply');
end;
begin
WriteLnExample;
TellOther;
WaitForReply;
end.
in the First Scar(a)
and
SCAR Code:
program TheOther;
{.include srl/SRL.scar}
Procedure WaitForMessage;
begin
SendInterSCARMessage('First', 'Not Ready');
Repeat
Wait(100);
WritelN('Waiting');
WriteLn(TheTime);
Until(ReadInterSCARMessage('Second') = 'Start');
end;
Procedure RecievedMessage;
begin
Wait(50);
WriteLn('Recieved Message');
Wait(50);
WriteLn('Second Script all Set');
WriteLn(TheTime);
end;
Procedure ReplyToFirst;
begin
WriteLn('Sending Reply');
SendInterSCARMessage('First', 'Good To Go');
WriteLn(TheTime);
end;
begin
WaitForMessage;
RecievedMessage;
ReplyToFirst;
end.
in the second SCAR(b);
Run Scar A and Then Run SCAR B right next to each other. This way will start script b as soon as script a is done. It is just an example.