PDA

View Full Version : Simba Alert



S_rose94
04-15-2014, 08:07 PM
I know this may seem a tad stupid but I was wondering if there was code that you can insert into a script that will load the Smart8 Window you are using to the forefront of your PC, basically due to the fact that the antiban does not yet fully work for OSR it would be really handy that if i have an error in my script I can create a catch that will display the window so i can deal with it instead of having to check every 30 mins to see if the bot is still working? I hope this made sense :P

caused
04-15-2014, 08:09 PM
You could just use ShowMessage('alert'); in you script.
Otherwise you can Find the smart Windows and set it to foreground.

caused
04-15-2014, 08:16 PM
delete me

Frement
04-15-2014, 08:25 PM
Or you could use something like this:
procedure Alert;
var
I: Integer;
begin
for I := 0 to 5 do begin
if (I mod 2 = 0) then
Writeln(#7#7)
else
Writeln(#7);
Sleep(600);
end;
end;