01-26-2015, 03:29 PM
Hello Kevin,
Here is some of the code I am using. The code will open internet explorer but it won't actually follow the "SetValue" instruction and it throws a run time error and macro fails. I try to stay away from mouse click if possible as you said before when people have different screen resolutions they can use the same macro then.
Let me know if you have an genius thoughts on when this isn't working.
Thanks,
Paul Daugs
Here is some of the code I am using. The code will open internet explorer but it won't actually follow the "SetValue" instruction and it throws a run time error and macro fails. I try to stay away from mouse click if possible as you said before when people have different screen resolutions they can use the same macro then.
function ARRAY(str)&a [str&s]
web "http://newmanlongtermcare.com/new_agent/toolkit/newman.html" 12 "iexplore - Shortcut"
int w1=wait(6 WV win("https://ltcselect.com/admin.asp - Windows Internet Explorer" "IEFrame"))
wait 5
str date c1 c2
//////////////////////////////////////////////////////////////////////AGENT INFO ENTERED//////////////
/Enter Agent Name
int w=wait(3 WV win("https://ltcselect.com/admin.asp - Windows Internet Explorer" "IEFrame"))
Acc a1.Find(w "TEXT" "" "a:name=User_ContactName" 0x3004 3)
a1.SetValue(F"{a[1]} {a[2]}")
/Click Next
Acc a2.Find(w "PUSHBUTTON" "Next" "" 0x3001 3)
a2.DoDefaultActionLet me know if you have an genius thoughts on when this isn't working.
Thanks,
Paul Daugs
