Looked thru 2012 and 2013 posts that had issues with GetTextPos, but can't find any recent posts relating to this.
Is there still an issue with using the 64bit version?
intLeft,intTop,intRight,intBottom will all be set to -1 --- because GetTextPos can't find the text
Code: Select all
//Move the mouse cursor out of harm's way to avoid causing mouseover events to interrupt
MouseMove>0,0
Let>delay=1
IESetTimeout>10,ie_res
IECreate>IE[0]
IENavigate>%IE[0]%,http://www.example.com/,ie_res
Wait>2
WindowAction>1,Example*
Wait>2
IEWaitDocumentComplete>%IE[0]%,ie_res
Wait>2
SetFocus>Example Domain - Internet Explorer
gettextinit
GetTextReset
GetWindowTextEx>Domain*,strText
//GetTextPos>Domain,intLeft,intTop,intRight,intBottom
GetTextPos>GetTextPos,intLeft,intTop,intRight,intBottom
Message>Done
**BREAKPOINT**