How to convert the doc file in docx through apple script programming.
Any particular reason you want to do this? doc files should open fine in Word 2010/2011.
I want to open the doc file and save as docx file.
Regardless, take a look here. There's a section on opening files and saving them in different formats.
I have written the following code ;
set mydoc to "/Users/hcl/Desktop/Sample.doc"
tell application "Microsoft Word"
save as active document file format format document file name "Sample_new.docx"
close active document
But it not converting the doc to docx without compatibility. I want to save as the doc file into docx. Please help.
|All times are GMT -4. The time now is 12:12 AM.|
Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.