Hi Jules -
How do you find out whether an application was started because a user has double-clicked a file? Equivalently, on OS X how do you get the command line args given to the
open command? This info seems not to be given to the
JUCEApplication::initialize() method’s commandLine arg.
However, that info is given to the commandLine arg of
JUCEApplication::anotherInstanceStarted. So, I can only determine the file the user clicked on when an instance of my application is already running. The first instance that starts cannot find out about its command line args.
Is this intentional? Am I missing something? Thanks!