Using Applescript to execute a Terminal command
I've looked at the possible answers that come up when I ask this question here, but none really fit my question.
I want to automate the Terminal command that cleans out obsolete entries in my right-click "Open with" menu, which I have to do often. Rather than copying the command each time I want it, then opening Terminal, pasting it in, etc., is there a way to automate this with Applescript? Thanks!
iMac, OS X Mavericks (10.9)