This script works great until I want to open the document called WordCounts.xls and save it as an Excel 4.0 Workbook.
What’s missing?
Dave
tell application “Finder”
duplicate “Macintosh HD:WordCounts.xls” to “Macintosh HD:wcreport” with replacing
end tell
tell application “Microsoft Excel”
open “Macintosh HD/wcreport/WordCounts.xls”
save “WordCounts.xls” as Excel4
end tell
Model: PowerBook G4
AppleScript: 2.1.1
Browser: Safari 419.3
Operating System: Mac OS X (10.4)