[Pythonmac-SIG] Starting Up Front.
has
hengist.podd at virgin.net
Tue Oct 26 01:06:32 CEST 2004
Jerry LeVan wrote:
>I am using Aqua Tcl/Tk BI distribution ( most recent). The
>Aqua version does not naturally start with the application
>being brought to the front. In Tk I can do any of:
>
># any of the following three "includes" will work with aqua
># to insure that the wish window is frontmost.
>
>#package require tclAE
>#tclAE::send -s misc actv
To bring the Wish application to the front:
#!/usr/local/bin/pythonw
from appscript import *
app('Wish Shell.app').activate()
HTH
has
--
http://freespace.virgin.net/hamish.sanderson/
More information about the Pythonmac-SIG
mailing list