*** Settings ***
Documentation Suite description
Library AutoItLibrary
*** Variables ***
${Word} C:\\Program Files (x86)\\Microsoft Office\\Office14\\WinWord.exe
${keys} Test keyword
*** Test Cases ***
Microsoft word
Run ${Word}
WinWaitActive Document1 - Microsoft Word ${EMPTY} 2
ControlSetText Document1 - Microsoft Word ${EMPTY} [ClassnameNN :NetUIHWND2] ${keys}
答案 0 :(得分:-2)
有一个word.au3 UDF。尝试使用它。做你想做的事不应该是一个问题。