[Pythonmac-SIG] How do you use macfs.FInfo?
Sat, 9 Oct 1999 14:50:59 -0400
A friend of mine asked me to do an AppleScript droplet for him that
would change the creator code of his gifs & jpegs from that of
FireWorks or PhotoShop to the code for Picture Viewer. I know how to
do that in AppleScript and probably know how to do it in MacPerl, but
I decided to use Python instead because it's cool, etc.
Anyway, naturally I'm now stuck. I gathered that what I wanted to use
was macfs.FInfo, but I have yet to figure it out. The Python
documentation deals with this in Sec. 7.3 and says that the FInfo
The 4-character creator code of the file.
That's all well and good, but when I try to use this, I just get
<FInfo object at 300e0c0>
so I guess that I am missing the point here.
I'd appreciate any explanations about this and, while we're at it,
what's the deal with FInfoType?
Gordon Consulting & Design
Database Design/Scripting Languages