Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calling All Talented Macro Creaters
#3
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
Code:
Copy      Help
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 -7

if i used the child reference for the window would that be better than using the parent?
orginal script
Code:
Copy      Help
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


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)