• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: tell Word to open an old file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tell Word to open an old file


  • Subject: Re: tell Word to open an old file
  • From: Gil Dawson <email@hidden>
  • Date: Fri, 03 Jan 2014 17:28:14 -0800

Thanks, Stan--

Interesting idea.  

tell application "Microsoft Word"

name of every file converter

end tell

Yields

Result:

{"Microsoft Excel 2.x-11.bundle", "Microsoft Excel 2.x-11.bundle", "Microsoft Excel 2.x-11.bundle", "Microsoft Excel 2.x-11.bundle", "Microsoft Excel 2.x-11.bundle", "Microsoft Excel 2.x-11.bundle", "Microsoft Excel 2.x-11.bundle", "Recover Text Converter.bundle"}

I'm not sure I know what to do with these.

--Gil


On Jan 3, 2014, at 4:44 PM, Stan Cleveland wrote:
Hi Gil,

In Word's dictionary, take a look at "file converter", which is an element of the application. I believe this will convert and open a specified format into a different, specified format. You should be able to set up a new file converter with parameters you need. Sorry, but I've not done this myself, so don't have sample code to share. I can't guarantee that the same alert won't pop up, but it's might be worth a look.

HTH,
Stan C.

On Jan 3, 2014, at 4:29 PM, Gil Dawson wrote:

Using Microsoft Word:Mac 2008 Version 12.3.6, 

I just noticed that Word will no longer open my (hundreds of) old Word documents just by double-clicking their icons in the Finder.  

Instead, Word puts up an alert:

<FileName> uses a file type that is blocked
from opening In this version.
To help secure your computer, some file types are
blocked Irom opening when you double-click the file or
drag the file to the Microsoft Word Icon.  If you trust that
this file Is secure, you can open the file by clicking Open
on the File menu.

Learn more about blocked file types


Clicking on the "learn more" leads to a web page with the same workaround, but no solutions.  If you pull down from File to Open..., the file can be opened.

I have learned that the kind of InfoForThisFile is "Microsoft Word 1.x-5.x document".  This makes them easy to search for.

I thought I'd write an AppleScript to "upgrade" all my archived files.  I ran into trouble with this simple script:

set aFile to POSIX file "<path to an archived Microsoft Word 1.x-5.x document>"
tell application "Microsoft Word" to open aFile

Instead of opening the file, Word puts up the same alert.  

Can you figure out how to get AppleScript to tell Word how to open one of these files?  

Has anyone done this?

--Gil
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

References: 
 >tell Word to open an old file (From: Gil Dawson <email@hidden>)
 >Re: tell Word to open an old file (From: Stan Cleveland <email@hidden>)

  • Prev by Date: Re: tell Word to open an old file
  • Next by Date: Re: tell Word to open an old file
  • Previous by thread: Re: tell Word to open an old file
  • Next by thread: Re: tell Word to open an old file
  • Index(es):
    • Date
    • Thread