SCAR Code:
program JoesInstaLogger;
{.include SRL\SRL.scar}
var DTM, x, y, time : integer;
begin
ActivateClient;
openwebpage('http://www.facebook.com');
DTM := DTMFromString('78DA630C64606090624001CBB75E04D38C5 03' +
'EE33A202189AAC63A7206AA1A2620214E404D10906022428D 3A01' +
'3520F73013E11E3522D41032672D61F7000070390F6A');
MarkTime (time);
repeat
if(finddtm(DTM,x,y, 0, 0, 500, 500)) then break;
wait (100);
until (TimeFromMark (time) > 30000) // If greater than 30 seconds, abort
freedtm(dtm);
if TimeFromMark(time) > 30000) then
begin
writeln ('Could not load webpage');
TerminateScript;
end;
Mouse (x, y, 0, 0, true);
typekeys('YOEMAILGOESHERE');//this is where your facebook email goes
keydown(9);
typekeys('YOPASSWORDGOHERE');//this is where your facebook password goes
keydown(13);
end.
NOTE THE ABOVE DOESNT COMPILE. I keep getting an error with Math.scar from the SRL include (using scar 3.22), but I do not get this error with simba. I guess SCAR 3.22 is out of date or SRL isnt supported in SCAR as much anymore?