Rizowski
2010-05-22 15:59:42
Hey!
I have read the beginner guide a couple times now and I have tried to put my knowledge to use, I don't believe I am doing it right though.
Here is the script I have:
It is supposed to be very simple, find the yellow color balloon button on a open pdf file. (I am not using bitmaps for now.) I want it to start at a certain point and go out. After it finds the color it types in the Debug box the message above.

I have tried compiling this in Luna, as it has a bit more friendly tips and easier to read begin and end functions, as they are linked together. I know it does not work as there are some things missing, but I am not sure what to put or how?
Any help would be great, I have said in other posts that I have been wanting to learn as much as I can. So by all means, if it is brutal, bring it. :P
I have read the beginner guide a couple times now and I have tried to put my knowledge to use, I don't believe I am doing it right though.
Here is the script I have:
Program colorfinder;
{to find yellow balloon text button on pdf program
Begin at loc 22,556, Use Spiral colorfind until finding color for button.}
function FindColor1: Integer;
begin
FindColorCircle: 28460473;
end;
Procedure WriteLn1;
begin //once found color write in found color
if FindColor1 := True
Then WriteLn('I have found what you were looking for :)')
TerminateScript;
end;
begin
FindColor1
WriteLn1
end. It is supposed to be very simple, find the yellow color balloon button on a open pdf file. (I am not using bitmaps for now.) I want it to start at a certain point and go out. After it finds the color it types in the Debug box the message above.

I have tried compiling this in Luna, as it has a bit more friendly tips and easier to read begin and end functions, as they are linked together. I know it does not work as there are some things missing, but I am not sure what to put or how?
Any help would be great, I have said in other posts that I have been wanting to learn as much as I can. So by all means, if it is brutal, bring it. :P