FSSpec objects -- Python library reference
Next: alias objects
Prev: macfs
Up: macfs
Top: Top
14.6.1. FSSpec objects
- data -- attribute of FSSpec object
-
The raw data from the FSSpec object, suitable for passing
to other applications, for instance.
- as_pathname () -- Method on FSSpec object
-
Return the full pathname of the file described by the FSSpec object.
- as_tuple () -- Method on FSSpec object
-
Return the
(wdRefNum, parID, name)
tuple of the file described
by the FSSpec object.
- NewAlias ([file]) -- Method on FSSpec object
-
Create an Alias object pointing to the file described by this
FSSpec. If the optional file parameter is present the alias
will be relative to that file, otherwise it will be absolute.
- NewAliasMinimal () -- Method on FSSpec object
-
Create a minimal alias pointing to this file.
- GetCreatorType () -- Method on FSSpec object
-
Return the 4-char creator and type of the file.
- SetCreatorType (creator, type) -- Method on FSSpec object
-
Set the 4-char creator and type of the file.
- GetFInfo () -- Method on FSSpec object
-
Return a FInfo object describing the finder info for the file.
- SetFInfo (finfo) -- Method on FSSpec object
-
Set the finder info for the file to the values specified in the
finfo object.
Next: alias objects
Prev: macfs
Up: macfs
Top: Top