I am trying to use the microsoft word application.DocumentBeforeSave event in Office 2010 in autoit and I have found that for some strange reason, it will not trigger at all if I have clicked inside the text part of the open word document. Here is my test code (or course you will have to have microsoft word installed for this to work):
$oWord = ObjCreate("Word.Application")
$document = $oWord.Documents.Add
$oWord.Visible = 1
$oEvt2 = ObjEvent($oWord,'appevent_')
while 1
sleep(100)
WEnd
Func