10-01-2007, 03:23 PM
You know what, I see the problem now you are waiting 60 seconds for "stuident" in a macro you should change this macro to a function so it doesnt keep your arrows red all the time you are surffing that website. Or change that wait time to something smaller.
Or something like this.
Function ( Function4 ) Trigger ( $a 142 -4 0 "Edit" 41477 "zangleweb.resa.net/Gibraltar/StudentConnect/" )
function hwnd
int Phwnd;Htm el ell el3
Phwnd=GetAncestor(hwnd 2);; gets parent handle
;wait until fully loads
wait 0 I
str s="0"
str b="1"
el=htm("INPUT" "stuident" "" Phwnd 0 0 0x121);; NO need for the wait time now.
err
,out "NOT LOGIN PAGE."
,end
el.SetText(s)
ell=htm("INPUT" "stupassword" "" Phwnd 0 1 0x121)
ell.SetText(b)
el3=htm("INPUT" "submit1" "" Phwnd 0 2 0x121)
el3.Click