Setting "Open With" program/file association programmatically (command line or script)
Setting "Open With" program/file association programmatically (command line or script)
- Subject: Setting "Open With" program/file association programmatically (command line or script)
- From: Pierre Guilluy <email@hidden>
- Date: Tue, 23 Sep 2008 14:20:30 +0200
Hello,
How would one bind an application to a given file type programmatically?
The normal method is to select a file of the type, choose "get Info",
then "open with" and select an application to always open the file type
with.
What I would like to know is if it possible to do so either using code,
from the command line or via applescript.
Thanks in advance.
Pierre
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden