All,

> One more thing: I've chucked a preliminary 0.21.0 into the svn trunk.
> 
> A couple of outstanding issues/omissions have been frustrating me
> recently, namely the annoying bouncing Dock icon

I've noticed a caveat:

The bouncing Dock icon is gone when using appscript 0.21.0 on a version of 
Python that was built against 10.5 or 10.6 SDKs. (Yay!)

However, the wretched thing still appears when using a Python installation 
built against a 10.4 SDK - i.e. anything running on Tiger; the python.org 
framework distros. (Boo!) 

I suspect the 10.4 Process Manager APIs are more aggressive in escalating 
non-GUI processes to GUI status when called. As I am running out of system APIs 
for identifying running processes and the application bundles that launched 
them, this is probably something I can't/will not address as it would likely 
involve making ugly, fragile kludges in the appscript code. 

Bouncing icons in 10.4 I don't much care about as most folks are on newer OSes 
by now. Bouncing icons in 10.5 and 10.6 are definitely undesirable, but they're 
a consequence of the design of the Python framework and the design of certain 
OS X APIs. Appscript is a victim of circumstance here: I need to use those 
APIs, and I'm not willing to make my code fragile and failure-prone just to 
avoid irritating but technically harmless behaviours coming from some Python 
distributions and OS X.

I am curious though (and this is probably a question for Ronald): how does 
PyObjC 2.x fare on python.org frameworks? If the framework is built against the 
10.4 SDK, then presumably Cocoa APIs introduced in 10.5+ won't be available to 
PyObjC there? Am I correct? If so, what's the recommended solution for 
10.5/10.6 users who wish to use a non-Apple Python installation and be able to 
access 10.5/10.6-only APIs (e.g. build your own Python framework?)?

Perhaps it's time python.org started distributing framework builds for 10.5 and 
later?

Any thoughts, advice, etc?

Thanks,

has

-- 
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to