Sebo
2007-11-20 17:47:30
Hi, I don't know what I'm doing wrong, but when i setup SMART, it wants to click on the client right when it pops up and then the script is finished, without even doing anything.
here is the script:
thanks, i am soooo confused still :duh:
here is the script:
// just a test.
program SMARTTest;
{$Define SMART}
{$IfDef SMART}
{.include SMART.scar}
{$EndIf}
{.include SRL/SRL.scar}
Procedure Login;
begin
SmartMoveMouse(584, 406);
SmartClickMouse(584, 406, True);
Wait(100);
end;
begin
{$IfDef SMART}
SmartSetup('ch1', True, True);
while not(SmartReady) do Wait(100);
SetTargetDC(SmartGetDC);
if not (LoggedIn) then
While not(SmartGetColor(386, 249) = 65535) do Wait(100);
SetupSRL;
Login;
{$EndIf}
end.thanks, i am soooo confused still :duh: