[Pythonmac-SIG] Banishing MacPython Dock Icon
matsakis at mit.edu
Sat Feb 26 20:09:56 CET 2005
One of the negatives of running appscripts to script apps is that
MacPython icon appearing in the dock. Not only is it useless, since you
can't interact with the app skeleton with the GUI, but it also slows the
launch of scripts.
I've managed to banish that icon by editing the Info.plist file of the
Resources/Python.app/Contents folder of the Python framework. All I did
was add the key LSUIElement with integer value 1, and the icon has been
banished and appscript still works. This is great, but am I doing myself
any disservice by doing that? What is that app used for, besides
By the way, what is the history of that icon? Why is it a 16 ton weight?
Is there a chance it could look less ... classic ... in a future version
of Mac Python?
More information about the Pythonmac-SIG