Automatically open downloaded Microsoft Word documents with Safari

I am using Mountain Lion on a Mac and am trying to force Safari to open Microsoft Word files immediately after download. This seems to work fine in Firefox, but I can't get it to work in Safari.

I have checked the box in Safari preferences to open "safe" files, and I have added the attached document (I changed the suffix to .plist instead of .txt) the the Library | Preferences folder than I found by holding down the Option key while clicking "Go" in the finder.

Even with the added com.apple.DownloadAssessment.plist file added, I still cannot get Safari to open Word documents. Have I put this file in the wrong location?

Any help is appreciated.

Thanks
Mark
karnac2020Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

EdTechyCommented:
Your com.apple.DownloadAssessment.plist needs to go in your user preferences at ~/Library/Preferences
Looking like this
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>LSRiskCategorySafe</key>
	<dict>
		<key>LSRiskCategoryContentTypes</key>
		<array>
			<string>com.microsoft.word.doc</string>
		</array>
		<key>LSRiskCategoryExtensions</key>
		<array>
		</array>
	</dict>
</dict>
</plist>

Open in new window


will open .doc files. I however have not found the right string to open docx files.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
karnac2020Author Commented:
I place that file (with name com.apple.DownloadAssessment.plist in my preferences file at ~/Library/Preferences but files are still being downloaded instead of being automatically opened in Word. Have I got it in the wrong location?

I used Terminal to "unhide" the Library file in /users/mark. Then I found the Library folder and the Preferences folder and put the above file into that folder.

I can't see what is wrong.

Thanks
Mark
0
EdTechyCommented:
That is the correct location. Two things:
As I stated, so far I have not been able to open a file with a .docx extension. It is a different entry that would have to go into than the older .doc files. This did open the .doc
Also, you may have to log out of the computer and back in for the file to take effect.
0
karnac2020Author Commented:
I couldn't get it to work, but EdTechy was helpful.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Browsers

From novice to tech pro — start learning today.