|
我是WR新手,刚接触。
一开始装的是8.2版本的,可录制的脚本与指南上的脚本老是不一样,我又装了8.0的,好像有些一样了。我还是搞不懂究竟是不是版本的原因。请高手们指点,谢谢!
8.2版本的:
# Flight Reservation_1
win_activate ("Flight Reservation_1");
set_window ("Flight Reservation_1", 5);
menu_select_item ("File;Open Order...");
# Open Order
set_window ("Open Order", 2);
obj_mouse_drag ("Order No._1", 9, 9, 11, 9, LEFT);
obj_mouse_click ("ThunderRT6TextBox_1", 23, 8, LEFT);
obj_type ("ThunderRT6TextBox_1","6");
obj_mouse_click ("OK", 39, 12, LEFT);
8.0版本的:
# Flight Reservation
win_activate ("Flight Reservation");
set_window ("Flight Reservation", 2);
menu_select_item ("File;Open Order...");
# Open Order
win_mouse_click ("Open Order", 7, 137);
set_window ("Open Order", 0);
button_set ("Order No.", ON);
edit_set ("Edit", "6");
button_press ("OK");
其中,红色字体部分是不一样的地方。
再次感谢! |
|