When my application starts up I want to check if the application starts because of double click in Finder, or open file in Finder.
If the file is opened from Finder I will not show Welcome screen and open directly the file. But if there is no such file it will show Welcome screen.
I can register for kAEOpenDocuments but I had to wait for the event to be triggered and how long should I wait.
What would be the proper way to handle this
Selecting any option will automatically load the page