SRL Archive - S.M.A.R.T. Questions and Answers.

Smart Mouse coordinates plus mouse movement


enigmatic87

2008-05-17 11:19:02

Hi there

I encountered 2 problems:

One problem is that my script works with mouse coordinates thats why i need to target the client, else it wouldnt work. Is it possible to target S.M.A.R.T. client without problems? Or is there another way to do that.

Second problem is that when i start S.M.A.R.T. the red cursor dot moves , but my real mouse moves too! How can I stop this. I just want to use the red dot cursor within the client.

Hope someone can help me with this.

TViYH

2008-05-17 11:34:43

This is how I start smart.


program New;
{.include SRL/SRL/Misc/Smart.scar}
{.include SRL/SRL.scar}

begin
SetupSRL;
SetupSmartEx(133, False, True);
while Not SmartReady do Wait(100);
SmartSetTarget;
end.

enigmatic87

2008-05-17 11:41:15

But why does my windows cursor still move around :S?

Markus

2008-05-17 11:53:56

Because you didn't include SMART.scar

mixster

2008-05-18 06:14:06

Add SetTargetDC(SmartGetDC); after it has finished setting up Smart if it has not anywhere there.