Results 1 to 5 of 5

Thread: Apple script

  1. #1
    Apple script

    Member Since
    Oct 12, 2012
    Posts
    4
    Smile Apple script
    Hi,

    How to convert the doc file in docx through apple script programming.

    Thanx
    Anima

  2. #2
    Apple script
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,398
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    Any particular reason you want to do this? doc files should open fine in Word 2010/2011.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  3. #3
    Apple script

    Member Since
    Oct 12, 2012
    Posts
    4
    I want to open the doc file and save as docx file.

  4. #4
    Apple script
    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,398
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    But why?

    Regardless, take a look here. There's a section on opening files and saving them in different formats.
    Important Links: Community Guidelines : Use the reputation system if you've been helped.
    M-F Blog :: Write for the blog
    Writing a Quality Post

  5. #5
    Apple script

    Member Since
    Oct 12, 2012
    Posts
    4
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. apple script
    By castor in forum Switcher Hangout
    Replies: 0
    Last Post: 11-20-2011, 12:56 PM
  2. help with apple script
    By sootom in forum OS X - Operating System
    Replies: 0
    Last Post: 11-08-2011, 04:03 PM
  3. Apple Script
    By cmwarre in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 11-14-2009, 06:54 PM
  4. Is apple script what I need?
    By davedave in forum OS X - Apps and Games
    Replies: 0
    Last Post: 03-11-2009, 03:11 AM
  5. syncing ratings between AAC and Apple Lossless iTunes libraries using Apple Script
    By nick_harambee in forum iPod Hardware and Accessories
    Replies: 0
    Last Post: 10-05-2007, 03:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •