Tobias Weber wrote: > how do I store an unbreakable alias instead of a POSIX path? > > There's mactypes.Alias in appscript, but it doesn't look serializable.
mactypes.Alias doesn't provide flatten/unflatten APIs, but it's just a wrapper around aem.ae.AEDesc, which does. Check their docstrings for more information. > I could use NDAlias via pyobjc and get an NSData out. NSURL has a 'bookmark' feature in 10.6+. HTH 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 unsubscribe: http://mail.python.org/mailman/options/Pythonmac-SIG