|
# #32770_3
win_mouse_click ("#32770_3", 42, 86);
set_window ("#32770_3", 16);
edit_set ("QQ号码:_1", "11670222");
# #32770_3
set_window("#32770_3", 1);
obj_check_gui("QQ号码:_1", "list1.ckl", "gui1", 1);
if (obj_check_gui("QQ号码:_1", "list1.ckl", "gui1", 1) == E_OK)
tl_step ("QQ号码:_1",0, "用户名验证正确!");
else
tl_step ("QQ号码:_1",1, "用户名验证不正确!");
# #32770_3
set_window ("#32770_5", 17);
password_edit_set("QQ密码:", "fzetnyjtazctnzesbvcshv");
# #32770_3
set_window("#32770_3", 1);
obj_check_gui("QQ密码:", "list2.ckl", "gui2", 1);
if (obj_check_gui("QQ密码:", "list2.ckl", "gui2", 1)== E_OK)
tl_step ("QQ密码:",0, "用户名验证正确!");
else
tl_step ("QQ密码:",1, "用户名验证不正确!");
obj_mouse_click ("登录", 23, 13, LEFT);
iResult = win_exists("错误");
if (iResult == E_OK)
{ set_window ("错误", 6);
button_press ("否(N)");
}
set_window("#32770");
password_edit_set("QQ密码:", "fzetnyjtazctnzesbvcshvds");
obj_mouse_click ("登录", 38, 9, LEFT);
我试过了,可以的,我的前提是用户名是正确的,如果不正确,我要再加多一条程序.由于时间不够,这个星期比较忙,所以大家帮忙看一下吧 |
|