Opening a file with command-line bin through Finder

automatorbash

I wish to use mp3blaster (installed through MacPorts) via Finder. I want to double-click an mp3 file and get it opened in mp3blaster. But I haven't been able to do so. I created an app and, in another try, a service in Automator, using the following script:

/opt/local/bin/mp3blaster $1

Any ideas?

Best Answer

You should be able to get info on your .mp3 file and change the associated app.

Go to cmd-i of your app, click the drop-down of "Open with:" .. Select other and navigate to your directory. You will have to select Enable : All Applications to be able to click on the mp3blaster app.