mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-23 01:32:17 -05:00
48242e8cb1
Added Pointer as Integer to PS. git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@360 3f818213-9676-44b0-a9b4-5e4c4e03d09d
17 lines
419 B
Plaintext
17 lines
419 B
Plaintext
program new;
|
|
|
|
{.LoadDLL libsmart}
|
|
|
|
var
|
|
w,h:integer;
|
|
begin
|
|
SmartSetup('http://world19.runescape.com/', 'plugin.js?param=o0,a1,m0', 765, 503);
|
|
SetTargetArray(SmartImageArray, 765,503);
|
|
getclientdimensions(w,h);
|
|
writeln(inttostr(w) + ' , ' + inttostr(h));
|
|
if findcolortolerance(w,h,clwhite,0,0,764,502,300) then
|
|
smartmovemouse(w,h);
|
|
savescreenshot('/tmp/smart.bmp');
|
|
//Wait(5000);
|
|
end.
|