Originally Posted by
Bernardo88
Well, the script opens a .txt file which contains coordinates.
And then it uses MoveWindMouse with the coordinates as arguments.
It's like 5 lines long, that's why I find it a bit frustrating to have the whole scar editor open each time. =/
I did a quick seach for libmml on google and did not find anything, you think it could solve my problem? If it's the case, where can I find more informations?
So you want to read coordinates from a text file and use them as a TPointArray in your script?
If that's the case then it's easy to do. You don't have to open anything since scar can read text files.
SCAR Code:
var
S: String;
FileNum: Integer;
begin
FileNum := OpenFile(Path: string; Shared: Boolean);
ReadFileString(FileNum, S, FileSize(FileNum));
CloseFile(FileNum);
end;
Now you have the file as a string in your script.
I ran out of time. Goint to school now. If this is the case then I can help you to get the Coordinate array out of the script.