[Pythonmac-SIG] gensuitemodule.py application selection window does not take focus

Donovan Preston dsposx at mac.com
Sat Sep 27 00:28:08 EDT 2003


On Sep 26, 2003, at 8:30 PM, Matt Duignan wrote:

<snip>

> When I run:
>
> python
> /Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat- 
> mac/gensuitemodule.py
>
> the "Choose a File" dialogue opens, for "Select
> scriptable application". The problem is that this
> window seems to refuse to take focus

<snip>

You need to use pythonw instead of python. pythonw includes the glue  
required to send and receive AppleEvents from Python.

dp




More information about the Pythonmac-SIG mailing list