Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Recognizing Website?
#28

Try this it works for me other than it wont let me log in because the username and password are 0 1.

Maybe the .SetFocus is hanginig you up some how, its not needed to use .SetText .


Function ( Function4 ) Trigger ( $a 142 -4 0 "Edit" 41477 "zangleweb.resa.net/Gibraltar/StudentConnect/" )
Code:
Copy      Help
function hwnd
int Phwnd;Htm el ell el3
Phwnd=GetAncestor(hwnd 2);; gets parent handle


str s="0"
str b="1"
el=htm("INPUT" "stuident" "" Phwnd 0 0 0x121 60)
err
,out 1
,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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)