Posted it in newbie, but I guess this goes a bit further, so here goes :
Guys,
I donno if I'm loosing it, but I can't get it to work.
I created a script that is using the FindImagePos, and it works like a charm on the pc I wrote the script on, I export it to an .exe, so far so good, still working.
Now I want to run this exe on another machine and it won't budge, it runs until the first findimagepos needs to be run, but it doesn't do it.
Could it be a different screen issue, how could I resolve this to work on whatever screen and resolution ?
probs running findimagepos on other pc
Moderators: Dorian (MJT support), JRL
No need to double post.Posted it in newbie, but I guess this goes a bit further, so here goes :
Your problem is probably color depth rather than screen resolution. See this article on color depth. Have you done anything with FindImagePosition>'s "color_tolerance" parameter?
Help wrote:FindImagePos>bitmap_to_find,bitmap_to_scan|SCREEN,color_tolerance,return_center,X_Array,Y_Array,NumFound
If color_tolerance is zero the pixel colors must match exactly. color_tolerance can be set to a value between 0 and 255. If larger than zero the red, green and blue values of the pixels in bitmap_to_scan are checked to see if they are within the tolerance specified (color value + or - color_tolerance). Smaller values match less and larger values match more.