I’m new to Juce and only been using a Mac for a year so I apologise in advance if I’m asking a stupid question…
I’m trying to create a basic MP3 player with Juce using the Quicktime framework. All is going well and Juce has made this extremely easy so far. However I have hit a problem. I want to use this player to be my default mp3 app, only if I open a file in finder with it, the commandline string passed in begins with -psn_ (a process id of some sort I assume??).
My question is, how to I get the file name of the file which has been clicked from this? can I? Same thing happens when using open in terminal, however a command like “appname -file.mp3” in terminal passes the argument in fine.
I hate iTunes, I need help now!!!