when i run this example from the help file:
GetPixelColor>652,355,PC
Message>Pixel Color is : %PC%
the message pops up and actually says "Pixel Color is : %PC%"
when i try to use a MouseMove statement the following error pops up:
"Invalid Numeric Value for MouseMove command."
both of these functions are important for the script i am giong to create but i can't even get the basics to work.
GetPixelColor and MouseMove errors
Moderators: JRL, Dorian (MJT support)
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Variables and Labels may not function correctly to you because the space is considered a real character by the compiler. Be careful of spaces at end of lines, on either side of the "=" character.
Make sure that there is no space character at the end of the GetPixelColor line. On the Editor menu, click on Edit, Show All Chars to see the space characters.
Actually remove all extra spaces on all lines. In the Editor, click on Edit, Remove Trailing Spaces.
Also remember that variables and Labels are also Case Sensitive.
I suspect that your MouseMove> commands may have spaces in the listing of the coordinates, or if the coordinates are variables, then they may have spaces at the end of their lines also.
Make sure that there is no space character at the end of the GetPixelColor line. On the Editor menu, click on Edit, Show All Chars to see the space characters.
Actually remove all extra spaces on all lines. In the Editor, click on Edit, Remove Trailing Spaces.
Also remember that variables and Labels are also Case Sensitive.
I suspect that your MouseMove> commands may have spaces in the listing of the coordinates, or if the coordinates are variables, then they may have spaces at the end of their lines also.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!