Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Regarding GetTextLocation
#2
Not Solved
Hi ,

Try with "TextUtil" Utility object.
There is method called "GetTextLocation" associated with this Object.

Syntax:
TextUtil.GetTextLocation(TextToFind, hWnd, Left, Top, Right, Bottom[, MatchWholeWordOnly])
Return Value: Boolean

Example:
The below code searches for the word "Mercury" within the entire screen.
Code:
l = -1
t = -1
r = -1
b = -1
Succeeded=TextUtil.GetTextLocation("16",0,l,t,r,b)
msgbox Succeeded

Once its found , you could go for DeviceReplay,WSH so on so forth for clicking on that.
Reply


Messages In This Thread
Help Regarding GetTextLocation - by koti.deva - 12-08-2009, 04:57 PM
RE: Help Regarding GetTextLocation - by sreekanth chilam - 12-08-2009, 06:28 PM
RE: Help Regarding GetTextLocation - by koti.deva - 12-09-2009, 10:30 AM
RE: Help Regarding GetTextLocation - by chaitali - 02-05-2014, 03:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  GetTextLocation method elsekra 1 8,512 03-12-2009, 06:45 PM
Last Post: MVChowdary

Forum Jump:


Users browsing this thread: 1 Guest(s)