Find Position from a Text with specified color

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Ghost24de
Newbie
Posts: 13
Joined: Thu Aug 15, 2013 11:24 am

Find Position from a Text with specified color

Post by Ghost24de » Thu Oct 16, 2014 1:44 am

Hi,
i have the following problem.....

I will find the position from a Text with a specified color on a IE or firefox window.
so, the script must search for a color.
The window (IE or Firefox) is activ and open just at this moment.

I dont need the text with this color, i only need the position from the pixel of this specified color and the script must search this pixel inside the active window and there inside a area. this area i have befor set.
Exemple:
search on the active windoe-> search thern inside the area from X=15 to X=30 and y=50 to y=100 ->find inside this area the pixel with the color FFF00124 and return me the position inside the active window (not from the position inside the spec. area) from this color pixel.

any one any idea?

thx for help

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Find Position from a Text with specified color

Post by Marcus Tettmar » Tue Oct 21, 2014 3:44 pm

Sounds like you need the "Find Color Library" which you will find on this page:
https://www.mjtnet.com/downloads.htm
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Ghost24de
Newbie
Posts: 13
Joined: Thu Aug 15, 2013 11:24 am

Re: Find Position from a Text with specified color

Post by Ghost24de » Tue Oct 21, 2014 8:24 pm

Hi Marcus,
thx for the answer, thats it, what i search for!
wonderfull...
many thx

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts