The one I have been mainly trying to get results from is GetWindowTextEx.
Here is the scribble I have been playing with.
Code: Select all
let>WinName=Star Trek (2009) - IMDb
IECreate>IE[0]
//IENavigate>IE[0],https://www.google.com/?gws_rd=ssl,res
IENavigate>IE[0],Star Trek (2009) - IMDb,res
IEWait>IE[0]
GetWindowHandle>%WinName%*,WinHan
let>win_usehandle=1
SetFocus>WinHan
wait>10
//GetWindowText>WinHan,AllText
GetWindowPos>Winhan,x,y
GetWindowSize>Winhan,w,h
//let>y=%y%+10
GetTextInit
//GetTextAtPoint>x,y,text,nChar
//mdl>%text%
GetWindowTextEx>WinHan,res
mdl>%res%
//mdl>%intLeft%
//GetTextAtPoint>
//mdl>%AllText% %x%,%y%
//IEGetURL>IE[0],IsUrl
//IEGetTags>IsUrl,,,Test
//GetWindowList>wl
//mdl>%wl%
//Click A tag with text "Log In" in IE[0] instance
//IEClickTag>IE[0],,,A,TEXT,Log In,result
Appreciate any help.
Thanks,
PepsiHog
I am working my way to IMDb. Since the search has IMDb in it, the result should be the first link. In my tests, they have been. I now want the url that is below the link. It will be a link for IMDb. That is my goal to grab.