[Pythonmac-SIG] Storing path as alias

2010-02-20 Thread Tobias Weber
Hi, how do I store an unbreakable alias instead of a POSIX path? There's mactypes.Alias in appscript, but it doesn't look serializable. I could use NDAlias via pyobjc and get an NSData out. ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://

Re: [Pythonmac-SIG] Storing path as alias

2010-02-21 Thread Tobias Weber
On 21.02.2010, at 15:20, has wrote: Thanks! I made working examples for both, but I guess the first has AppleScript limitations like requiring a UI context. > mactypes.Alias doesn't provide flatten/unflatten APIs, but it's just a > wrapper around aem.ae.AEDesc, which does. import base64 impor

Re: [Pythonmac-SIG] Storing path as alias

2010-02-22 Thread Tobias Weber
On 21.02.2010, at 15:20, has wrote: Thanks! I made working examples for both, but I guess the first has AppleScript limitations like requiring a UI context. > mactypes.Alias doesn't provide flatten/unflatten APIs, but it's just a > wrapper around aem.ae.AEDesc, which does. import base64 impor

Re: [Pythonmac-SIG] GTK2, Snow Leopard, py2app

2010-03-31 Thread Tobias Weber
On 31.03.2010, at 10:59, pi...@ookami.cz wrote: > However, for Snow Leopard all my attempts failed - as soon as you start using > threads, it's impossible to quit application https://bugzilla.gnome.org/show_bug.cgi?id=613783 (was the same on 10.5) ___

Re: [Pythonmac-SIG] Still Unable to get my Python program working on the mac

2010-05-19 Thread Tobias Weber
On 19.05.2010, at 02:24, Mike wrote: > The only way I can see this working is getting pyttsx working with > ctypes...or if anyone knows of another similar package that doesn't use > PyObjC... I didn't follow the thread, but to mix conflicting packages you can always split your programm into tw