Is there a way to detect when your AIR app has been invoked
automatically at user login, as opposed to being launched
explicitly by running the program via a desktop icon, tray, or file
I've tried looking at the event object passed in by the
invoke event, but it doesn't have any flag to say how the app was
The reason I ask is that it would be nice to start the app in
a minimized state (no window visible) when auto-launched at login.
The user could then use the taskbar menu (or dock) to view menus
and/or make the app visible.
However, when the user explicitly launches the app, we'd want
it to show the main app window right away.