Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Waiting for process completion
#5
I'm sorry - I gave the wrong information about what worked and what did not. The following program is a correct example. The program won't work w/o a "wait 2". Neither WA nor WV text for the existance of the Word top menu. Is there a way of testing for this or calling a Word macro directly?

Thanks

int w4
run("C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" "" "" "" 0 "Word" w4)
wait 0 WA w4
;wait 2
lef 441 47 w4
;mes "filedialog lock"
wait 0 WP w4
;mes "filedialog unlock"


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)