[Pythonmac-SIG] Starting Up Front.

Jerry LeVan jerry.levan at eku.edu
Mon Oct 25 23:09:47 CEST 2004


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

catch {
package require Tclapplescript
AppleScript execute {tell me to activate}

#exec osascript \
#      -e "tell app \"Finder\" to set frontmost of process \"Wish 
Shell\" to true"

How can I do any/all of the above in Python?



More information about the Pythonmac-SIG mailing list