TA的每日心情 | 开心 2021-12-18 11:08 |
---|
签到天数: 1 天 连续签到: 1 天 [LV.1]测试小兵
|
大家好,我按学习资料录了飞机定票程序里面有个签名功能的脚本,如下:
是context sensitive mode下:
# Flight Reservation
set_window ("Flight Reservation", 3);
menu_select_item ("File;Open Order...");
# Open Order
set_window ("Open Order", 6);
button_set ("Order No.", ON);
edit_set ("Edit_1", "3");
button_press ("OK");
# Flight Reservation
set_window ("Flight Reservation", 4);
menu_select_item ("File;Fax Order...");
# Fax Order No. 3
set_window ("Fax Order No. 3", 2);
obj_type ("MSMaskWndClass","24678765657");
button_set ("Send Signature with order", ON);
win_mouse_drag ("Fax Order No. 3", 228, 219, 252, 210);
win_mouse_drag ("Fax Order No. 3", 244, 215, 225, 237);
win_mouse_drag ("Fax Order No. 3", 259, 218, 259, 220);
win_mouse_drag ("Fax Order No. 3", 288, 215, 297, 231);
win_mouse_drag ("Fax Order No. 3", 307, 212, 282, 248);
然后我执行时为什么签名区域内什么都没有,只一闪而过,没有我录制时的签名. |
|