[Pythonmac-SIG] mactypes Alias/File object question
Jeffery Beeland
jbeeland at rhythm.com
Mon Apr 6 23:02:33 CEST 2009
That seems to be the case. Thanks for the help. :)
--Jeff
Nicholas Riley wrote:
> 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/>
>
>
--
____________________________
J e f f e r y B e e l a n d
Lead Pipeline TD
Rhythm + Hues Studios
jbeeland at rhythm.com
____________________________
Excercision sounds like something you'd do to a zombie Richard Simmons.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20090406/96727a4f/attachment.htm>
More information about the Pythonmac-SIG
mailing list