On 04.09.2016 at 20:48 Jens Alfke wrote:
> On Sep 4, 2016, at 4:56 AM, Andreas Falkenhahn wrote:
> Is there also a way to get the file argument without having an NSApp,
> i.e. can my program somehow obtain the file argument *before* creating
> the NSApp object or is that impossible?
> Perha
> Le 4 sept. 2016 à 20:48, Jens Alfke a écrit :
>
>
>> On Sep 4, 2016, at 4:56 AM, Andreas Falkenhahn
>> wrote:
>>
>> Is there also a way to get the file argument without having an NSApp,
>> i.e. can my program somehow obtain the file argument *before* creating
>> the NSApp object or is that
> On Sep 4, 2016, at 4:56 AM, Andreas Falkenhahn wrote:
>
> Is there also a way to get the file argument without having an NSApp,
> i.e. can my program somehow obtain the file argument *before* creating
> the NSApp object or is that impossible?
Perhaps through LaunchServices, or by implementing
When double-clicking a document file that is to be opened with my app,
the path to this file isn't passed in argv[] but can be obtained by
implementing "openFile" in the NSApplicationDelegate.
Is there also a way to get the file argument without having an NSApp,
i.e. can my program somehow obtain