Thread: Apple script
View Single Post
Anima Rani

 
Member Since: Oct 12, 2012
Posts: 4
Anima Rani is on a distinguished road

Anima Rani is offline
I have written the following code ;

set mydoc to "/Users/hcl/Desktop/Sample.doc"
tell application "Microsoft Word"
activate
open mydoc
save as active document file format format document file name "Sample_new.docx"
close active document
end tell

But it not converting the doc to docx without compatibility. I want to save as the doc file into docx. Please help.
QUOTE Thanks