-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ronald Oussoren wrote: > Hi, > > Does anyone here know how I can surpress the annoying feature for > aqua tk to open a tcl console window when stdin is an empty file. > This feature results in an additional window when opening IDLE.app...
In Tcl, the command is "console hide." Apparently others have had this question as well. I ran across this Python snippet on the Pythonmac list via Google: if hasattr(sys, 'frozen'): app.top.tk.call('console', 'hide') (see http://mail.python.org/pipermail/pythonmac-sig/2005-November/015375.html for details) Perhaps this could be a starting point for you. > > If all else fails I'll implement an awful hack, but I'd like to find > the proper solution first. The aqua tk FAQ page doesn't mention such > a solution though. > Re: the Aqua Tk FAQ--are you referring to http://wiki.tcl.tk/12987? There's a reference there to "console show," but not "console hide." I'll update that later today--thanks for pointing it out. - -- Kevin Walzer Poetic Code http://www.kevin-walzer.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEbdJYrTC5hIgjqTMRAvWnAJ9pWxByWK1swSuDhuYTszR9eXpwggCfa/Mv 3Ujn/D5YzG9k0DfXGBxGOsc= =Pj2x -----END PGP SIGNATURE----- _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig