SRL Archive - News and General

screenshot loop


josefin

2011-12-05 05:58:41

program New;
var
n: integer;
begin
for n := 1 to 5 do
begin
wait (1000)
SaveScreenshot(AppPath + n + 'awaaff.bmp');
end;
end.

This script ain't working ( the + n + bit).
I just want a loop that will save different screenshots.
any help?

cheers!

RISK

2011-12-05 05:59:51

Try this:
SaveScreenshot(AppPath + ToStr(n) + 'awaaff.bmp');

josefin

2011-12-05 07:23:18

awesome. thanks a loT1