Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How does 'Finder' open an application and bring the window to the front?



Hi, there,

On Mac, if I run a command in terminal and start a GUI application, the new window is always hide behind the current window. So does start apps from other application like firefox.
But noticed that double click an icon in "Finder" can start it correctly. So I did some test and found that if I wrap the command into a fake ".app" folder and use "open -a fake.app", it'll show the new window in the front. It's not good solution and I'm sure I haven't got the root reason.


I suppose there is an option in the configuration file of window manager for MacOS to control this behavior. Am I right? Anyone has any idea on what that option is and how to change it? I'm going mad with this problem.

Thanks a lot!
Calvin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.