Ok i just watched a 5 minute video on DTMs and decided to try and use a DTM to check if the recycle bin on my desktop has anything in it or not. This is the code i have so far, please could someone point me in the right direction and tell me why its not working?
SCAR Code:
//Checks if recycle bin is full or not
program New;
var
x, y, bin: integer;
Procedure LoadDTM;
begin
bin := DTMFromString('78DA63D4606060106140018C331921348CAF0' +
'424D851D5FCFFFF13558D26A69A5FBF7EA0AAD10712DCA86A7EFF' +
'FF8FAA460F4888A3AAB98BAE46164848A3AA39FB094D0D489E0F5' +
'5CD7334730093921379');
end;
Procedure FindDTM;
begin;
if(FindDTM(bin, x, y, 3, 2, 73, 53)) then;
Mouse(x, y, true);
Writeln('Recycle bin is full');
end else;
Writeln('Recycle bin is empty');
end;
begin
LoadDTM;
FindDTM;
end.
Thanks in advance! 
P.S The video might have been a little old, can you still use If(findDTM?
EDIT: I get the error
Code:
Line 19: [Error] (19:36): Invalid number of parameters in script