applicationDidFinishLaunching - anyway to get this using script/command? Is there a way to detect when an app has finished launching after using open &lt;path_to_app&gt; in a shell? The prompt after issuing the command is immediate, but for apps that take a while to fully launch will timeout events until fully launched…

Using ps aux | grep -i 'path to app' | grep -v grep | wc -l, returns a process ID almost immediately (at app launch time), so no good. 

Any help, greatly appreciated.
Resolved by monitoring STATE column for application bundle using TOP. Wait for STATE to change to 'sleeping' for a couple of seconds did the trick (for me anyway).