IEGetTagPos problem

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
lunalucky
Newbie
Posts: 14
Joined: Thu May 18, 2017 2:13 pm

IEGetTagPos problem

Post by lunalucky » Thu May 18, 2017 2:35 pm

Hi,
In this macro IEGetTagPos doesn't return the exact position. Can you help me?
Thanks

IECreate>IE[1]
IESetTimeout>3,ie_res
IENavigate>IE[1],%www1%,ie_res
IEGetHWND>IE[1],ieh
IEFormFill>IE[1],,,bet[][price],1000,,ie_res
Let>WIN_USEHANDLE=1
WindowAction>1,ieh
Wait>1
SetFocus>ieh
Wait>1
IEGetTagPos>IE[1],,INPUT,NAME,bet[][price],Xpos1,Ypos1

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

Re: IEGetTagPos problem

Post by Marcus Tettmar » Mon May 22, 2017 6:30 pm

There might be something about this element which causes confusion over it's location. The simplest solution would be to use image recognition to determine the items screen coordinates.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

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