How can I capture a DTM/or bitmap while a script is running and use it temporarily in the script?
function CreateBitmap(w,h :integer) : integer;
var bmp, x, y: integer;
begin
bmp := CreateBitmap(10, 10); // Create a bitmap of size (10, 10)
if FindBitmapIn(bmp, x, y, 0, 0, 300, 300) then
writeln('Found it!');
FreeBitmap(bmp); // Don't forget to free it when we are done.
end;
I don't understand how the bmp is specsific

