05-13-2013, 10:37 AM
Hello Gintaras, thank you for you reply.
would i select "window" or "control" when using "find image"?
and then once i have parent and child name how would i insert that into the macro? like this?
amended script
if i used the child reference for the window would that be better than using the parent?
orginal script
would i select "window" or "control" when using "find image"?
and then once i have parent and child name how would i insert that into the macro? like this?
amended script
int hwnd=val(_command)
int w1=act(win("LinnWorks - Order Management - Release 4 - 4.1.1.1 - 380" "WindowsForms10.Window.8.app.0.2780b98"))
win("LinnWorks - Order Management - Release 4 - 4.1.1.1 - 380" "WindowsForms10.Window.8.app.0.2780b98") w1 1 ;; 'RadControl'
int w2=wait(5 win("Dispatch Console" "WindowsForms10.Window.8.app.0.2780b98"))
lef 224 54 w2 1 ;;editable text
shutdown -7if i used the child reference for the window would that be better than using the parent?
orginal script
int hwnd=val(_command)
int w1=act(win("LinnWorks - Order Management - Release 4 - 4.1.1.1 - 380" "WindowsForms10.Window.8.app.0.2780b98"))
lef 1456 201 w1 1 ;; 'RadControl'
int w2=wait(5 win("Dispatch Console" "WindowsForms10.Window.8.app.0.2780b98"))
lef 224 54 w2 1 ;;editable text
shutdown -7