On Mon, Apr 06, 2009 at 11:26:52AM -0700, Jeffery Beeland wrote: > I'm using appscript to interface with Photoshop, which has gone pretty > well to this point. The problem is that I can't seem to find a way to > get a posix path out of an Alias or File object from mactypes. As best > I can tell there are no public methods for the classes. This becomes a > problem when I want to query a list of open documents and expect to be > able to get at the actual file path for something like display of file > information in a UI component.
No public methods, but a public property (path) will give you what you want. <http://appscript.sourceforge.net/py-appscript/doc/mactypes/> -- Nicholas Riley <njri...@uiuc.edu> _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig