Re: [Pythonmac-SIG] Carbon/QuickTime help

2006-05-15 Thread Andrew Straw
You could leverage off the work I've recently done with ctypes and QuickTime. Here's part of the code, you should be able to find the rest from there: http://visionegg.org/cgi-bin/viewcvs.cgi/trunk/visionegg/src/qtmovie.py?rev=1375&view=markup Caveats: I don't know how well this will work on the

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-15 Thread Marcin Komorowski
Daniel, Bill, Thanks for your prompt replies, and Bill, yes, I should have read the FAQ before asking the question. I suspected there might be something relying on particular version within OS X itself, which is why I asked. Although, the entries in / bin are done in a 'revisioned' linked m

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-15 Thread Daniel Lord
On May 15, 2006, at 19:11, Marcin Komorowski wrote: > Thanks to all who have replied with information, and especially to > Bob for pointing me to a location where I can find a bunch of recent > universal binary builds of python components. I have not found a > link to this page on the Internet b

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-15 Thread Bill Janssen
> Being new to Mac > I must ask - is it safe to just point python binary links in /bin to > match those found in /usr/local/bin or should I be weary of some side > affects? Looks like the answer to this question isn't in enough places yet :-). I've updated the FAQ with the answer: Don't tr

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-15 Thread Marcin Komorowski
Thanks to all who have replied with information, and especially to Bob for pointing me to a location where I can find a bunch of recent universal binary builds of python components. I have not found a link to this page on the Internet before, hopefully your post will help search engines fi

[Pythonmac-SIG] InstallApplicationEventHandler and/or InstallEventHandler

2006-05-15 Thread don bright
Dear Pythonians, I'm trying to detect when a process starts/stops. I'm contemplating this excellent example from Apple, 'observing process lifetimes without polling' http://developer.apple.com/technotes/tn/tn2050.html However, it uses a function called InstallApplicationEventHandler. I guess th

Re: [Pythonmac-SIG] Application without py2app?

2006-05-15 Thread Thorsten Kohnhorst
Hello Ronald, you made my day :-) >> No, I am fine using an application bundle. >> It's just that the IDE I am trying to use (SPE) seems to know >> nothing about executables. >> And I guess that the included debugger might only work if the >> application is started from a python script. >> >>

Re: [Pythonmac-SIG] Application without py2app?

2006-05-15 Thread Ronald Oussoren
On 15-mei-2006, at 19:54, Thorsten Kohnhorst wrote: > > No, I am fine using an application bundle. > It's just that the IDE I am trying to use (SPE) seems to know > nothing about executables. > And I guess that the included debugger might only work if the > application is started from a pytho

Re: [Pythonmac-SIG] Application without py2app?

2006-05-15 Thread Thorsten Kohnhorst
Hello Ronald,thanks for the fast reply.I would like to know if it is possible to create an Cocoa applicationwithout using py2app. Sure, you can build the .app bundle by hand. Apple's website documentsthe structure of bundles.Well, I am happy with the bundle that was generated by py2app. I just want

Re: [Pythonmac-SIG] Application without py2app?

2006-05-15 Thread Ronald Oussoren
On 15-mei-2006, at 19:09, Thorsten Kohnhorst wrote: > Hello, > > I would like to know if it is possible to create an Cocoa application > without using py2app. Sure, you can build the .app bundle by hand. Apple's website documents the structure of bundles. > I want to start the application from

[Pythonmac-SIG] Application without py2app?

2006-05-15 Thread Thorsten Kohnhorst
Hello, I would like to know if it is possible to create an Cocoa application without using py2app. I want to start the application from the main python script instead (the one that starts the event loop). So far I managed to load the nib from a path by calling NibClassBuilder._nibInfo

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-15 Thread Thorsten Kohnhorst
Zachery Bir wrote: > I've been successfully building Universal PyObjC apps for a while > now. I've been tracking the head of PyObjC's SVN and using the > Universal Python 2.4.3 installer from python.org. > Yes, me too! The pyobjc bridge is an awsome piece of software and the trunk version w

Re: [Pythonmac-SIG] Status of PyObjC port to Intel OS X

2006-05-15 Thread Zachery Bir
On May 14, 2006, at 8:21 AM, Marcin Komorowski wrote: > Does anyone know what that status is of porting PyObjC to run on the > new Intel Macs? > > I know that there has already been some amount of work done, but my > attempts to run it on the new platform have failed. > > Should I be trying to be