6
votes
3answers
2k views

Change the default application (for a file extension) via script/command line?

Is there a way to define the default application for a file extension via an Apple script, command line command (like defaults write [...]). I know that you can change it manually via the information ...
0
votes
1answer
120 views

How do I refresh Application metadata - URL handlers, Web browsers - after installing my own AppleScript?

I'm working on an Apple Script that handles URLs. There's a command one can give which re-creates the list that Safari shows to change the default web browser. Anyone know what this is?