• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 428
  • Last Modified:

A script to set all .doc files to open with word on a mac

In a few of my labs I have .doc files opening with a program called Kurzweil.  I would like them to open with ms word.  I can make this change for each individual user by choosing open with and setting that to be the default program.  But There are many users and I cannot do this for every users.    Is there a script I can use in terminal that will set all .doc files to open in ms word for all accounts oh this computer?  I can run it at logon if necessary.    Running mac os 10.5 and up.  

0
ForLoop5
Asked:
ForLoop5
  • 4
  • 2
1 Solution
 
arnoldCommented:
When you are changing for one, there is an option to change for all:
http://osxdaily.com/2009/10/25/change-file-associations-in-mac-os-x/

Use the change for all to complete the process.
0
 
ForLoop5Author Commented:
I am looking to do this for many computer labs.  The amount of time it would take to make that setting on hundreds of computers manually would be large.  I would like to accomplish this through a script I can send out over work group manager.  

I think the button says "change all" and not "change for all"   I beleive this will make the setting change for that one individual user. We are on a network with domain accounts.  I am not aware that "change all"  will change the association for all users that will log into the computer.  
0
 
arnoldCommented:
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
arnoldCommented:
See if the below helps.
Have not seen a single central mechanism to do this:
http://www.macworld.com/article/142963/2009/09/associateapps.html
0
 
ForLoop5Author Commented:
The automator script might work in the workgroup manager login items.  Automator on 10.6 is different than 10.5   and 10.4    Do you think the 10.6 created automator script will work properly on the 10.5 and 4 macs?
0
 
arnoldCommented:
Have not tried it so can not say for sure, try it on one from each version and see.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now