Re: Batch File Conversion - Help!
Re: Batch File Conversion - Help!
- Subject: Re: Batch File Conversion - Help!
- From: Bob Varipapa <email@hidden>
- Date: Wed, 8 Nov 2000 23:43:03 -0500
Hi Michelle and John,
Thanks for your help. The following script works! Now for the real
test - converting 34,000 files!
Bob
set x to "OS 9:TestFolder:"
set xa to list folder alias x without invisibles
tell application "Microsoft Word"
activate
repeat with i from 1 to count xa by 1
set xb to item i of xa
set i to (x & xb) as alias
open i
do Visual Basic " Application.PrintOut
FileName:=\"\", Range:=wdPrintAllDocument, Item:= _
wdPrintDocumentContent, Copies:=1, Pages:=\"\",
PageType:=wdPrintAllPages, _
Collate:=True, Background:=False"
close document 1
end repeat
end tell