home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freesoft 1999 February
/
Freesoft_1999-02_cd.bin
/
Nerecenz
/
Utils
/
autoit_v1_4.exe
/
Examples
/
word.ini
< prev
Wrap
INI File
|
1999-01-17
|
879b
|
35 lines
; Example Script
; ==============
; Assumes MS Word installed in C:\Program Files\Microsoft Office with
; typical clip art installed.
; Run MS Word and wait until it's active
Run, C:\Program Files\Microsoft Office\Office\WinWord.exe
WinWaitActive, Microsoft Word
; Send some text and open the clip gallery
Send, Line one of some text{!}#{ENTER}
Send, Line two of some text.#{ENTER 2}
Send, !i#p#c
; Wait for the clip gallery to be active and select a piccy
WinWaitActive, Microsoft Clip Gallery
Send, +{TAB 6}#{DOWN 21}#{RIGHT}#!i
; Insert the picture and type some more text under the picture
WinWaitActive, Microsoft Word
Send, {RIGHT 5}#{PGDN}#{DOWN}
Send, {ENTER}#This is some text under the picture{!}
Sleep, 1000
; Close word
Send, !{F4}
WinWaitClose, Microsoft Word
[ADLIB]
Microsoft Word,changes,!n