>#DEFINE WSNORMAL 1 >WshShell = CreateObject([wscript.Shell]) >* Winword normal startenl >WshShell.Run([WinWord],WSNORMAL) >* CTRL+a >WshShell.SendKeys([^a]) >* STRG+c >WshShell.SendKeys([^c]) >* ALT+F4 >WshShell.SendKeys([%{F4}]) >* Now everything is to be found in _cliptext >?_cliptext >>
>>objWord = CreateObject("Word.Application") >>objWord.Documents.Open ("C:\mydirectory\mydata.doc") >>objWord.visible = .F. >> >>??? move text to m.txt >> >>modify file m.txt >>