Fred Drake | c817e27 | 1998-08-10 18:40:22 +0000 | [diff] [blame] | 1 | \section{\module{macfs} --- |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 2 | Various file system services} |
Fred Drake | fe7f3bc | 1998-07-23 17:55:31 +0000 | [diff] [blame] | 3 | |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 4 | \declaremodule{builtin}{macfs} |
| 5 | \platform{Mac} |
Fred Drake | 72554e4 | 1998-11-25 20:07:35 +0000 | [diff] [blame] | 6 | \modulesynopsis{Support for FSSpec, the Alias Manager, |
| 7 | \program{finder} aliases, and the Standard File package.} |
Fred Drake | fe7f3bc | 1998-07-23 17:55:31 +0000 | [diff] [blame] | 8 | |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 9 | |
Fred Drake | cce1090 | 1998-03-17 06:33:25 +0000 | [diff] [blame] | 10 | This module provides access to Macintosh FSSpec handling, the Alias |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 11 | Manager, \program{finder} aliases and the Standard File package. |
| 12 | \index{Macintosh Alias Manager} |
| 13 | \index{Alias Manager, Macintosh} |
| 14 | \index{Standard File} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 15 | |
| 16 | Whenever a function or method expects a \var{file} argument, this |
Guido van Rossum | 6bb1adc | 1995-03-13 10:03:32 +0000 | [diff] [blame] | 17 | argument can be one of three things:\ (1) a full or partial Macintosh |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 18 | pathname, (2) an \pytype{FSSpec} object or (3) a 3-tuple \code{(\var{wdRefNum}, |
Fred Drake | e15eb35 | 1999-11-10 16:13:25 +0000 | [diff] [blame] | 19 | \var{parID}, \var{name})} as described in \citetitle{Inside |
Fred Drake | 72554e4 | 1998-11-25 20:07:35 +0000 | [diff] [blame] | 20 | Macintosh:\ Files}. A description of aliases and the Standard File |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 21 | package can also be found there. |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 22 | |
| 23 | \begin{funcdesc}{FSSpec}{file} |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 24 | Create an \pytype{FSSpec} object for the specified file. |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 25 | \end{funcdesc} |
| 26 | |
| 27 | \begin{funcdesc}{RawFSSpec}{data} |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 28 | Create an \pytype{FSSpec} object given the raw data for the \C{} |
| 29 | structure for the \pytype{FSSpec} as a string. This is mainly useful |
| 30 | if you have obtained an \pytype{FSSpec} structure over a network. |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 31 | \end{funcdesc} |
| 32 | |
| 33 | \begin{funcdesc}{RawAlias}{data} |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 34 | Create an \pytype{Alias} object given the raw data for the \C{} |
| 35 | structure for the alias as a string. This is mainly useful if you |
| 36 | have obtained an \pytype{FSSpec} structure over a network. |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 37 | \end{funcdesc} |
| 38 | |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 39 | \begin{funcdesc}{FInfo}{} |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 40 | Create a zero-filled \pytype{FInfo} object. |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 41 | \end{funcdesc} |
| 42 | |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 43 | \begin{funcdesc}{ResolveAliasFile}{file} |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 44 | Resolve an alias file. Returns a 3-tuple \code{(\var{fsspec}, |
| 45 | \var{isfolder}, \var{aliased})} where \var{fsspec} is the resulting |
| 46 | \pytype{FSSpec} object, \var{isfolder} is true if \var{fsspec} points |
| 47 | to a folder and \var{aliased} is true if the file was an alias in the |
| 48 | first place (otherwise the \pytype{FSSpec} object for the file itself |
| 49 | is returned). |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 50 | \end{funcdesc} |
| 51 | |
Fred Drake | cce1090 | 1998-03-17 06:33:25 +0000 | [diff] [blame] | 52 | \begin{funcdesc}{StandardGetFile}{\optional{type, ...}} |
Guido van Rossum | 6bb1adc | 1995-03-13 10:03:32 +0000 | [diff] [blame] | 53 | Present the user with a standard ``open input file'' |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 54 | dialog. Optionally, you can pass up to four 4-character file types to limit |
| 55 | the files the user can choose from. The function returns an \pytype{FSSpec} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 56 | object and a flag indicating that the user completed the dialog |
| 57 | without cancelling. |
| 58 | \end{funcdesc} |
| 59 | |
Fred Drake | cce1090 | 1998-03-17 06:33:25 +0000 | [diff] [blame] | 60 | \begin{funcdesc}{PromptGetFile}{prompt\optional{, type, ...}} |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 61 | Similar to \function{StandardGetFile()} but allows you to specify a |
| 62 | prompt. |
Jack Jansen | 0e13374 | 1995-08-14 13:39:16 +0000 | [diff] [blame] | 63 | \end{funcdesc} |
| 64 | |
Fred Drake | cce1090 | 1998-03-17 06:33:25 +0000 | [diff] [blame] | 65 | \begin{funcdesc}{StandardPutFile}{prompt, \optional{default}} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 66 | Present the user with a standard ``open output file'' |
| 67 | dialog. \var{prompt} is the prompt string, and the optional |
Guido van Rossum | 6bb1adc | 1995-03-13 10:03:32 +0000 | [diff] [blame] | 68 | \var{default} argument initializes the output file name. The function |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 69 | returns an \pytype{FSSpec} object and a flag indicating that the user |
| 70 | completed the dialog without cancelling. |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 71 | \end{funcdesc} |
| 72 | |
Jack Jansen | 0e13374 | 1995-08-14 13:39:16 +0000 | [diff] [blame] | 73 | \begin{funcdesc}{GetDirectory}{\optional{prompt}} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 74 | Present the user with a non-standard ``select a directory'' |
Jack Jansen | 0e13374 | 1995-08-14 13:39:16 +0000 | [diff] [blame] | 75 | dialog. \var{prompt} is the prompt string, and the optional. |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 76 | Return an \pytype{FSSpec} object and a success-indicator. |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 77 | \end{funcdesc} |
| 78 | |
Guido van Rossum | 910a671 | 1996-07-30 18:22:31 +0000 | [diff] [blame] | 79 | \begin{funcdesc}{SetFolder}{\optional{fsspec}} |
| 80 | Set the folder that is initially presented to the user when one of |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 81 | the file selection dialogs is presented. \var{fsspec} should point to |
Guido van Rossum | 910a671 | 1996-07-30 18:22:31 +0000 | [diff] [blame] | 82 | a file in the folder, not the folder itself (the file need not exist, |
| 83 | though). If no argument is passed the folder will be set to the |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 84 | current directory, i.e. what \function{os.getcwd()} returns. |
Guido van Rossum | 910a671 | 1996-07-30 18:22:31 +0000 | [diff] [blame] | 85 | |
| 86 | Note that starting with system 7.5 the user can change Standard File |
| 87 | behaviour with the ``general controls'' controlpanel, thereby making |
| 88 | this call inoperative. |
| 89 | \end{funcdesc} |
| 90 | |
Fred Drake | cce1090 | 1998-03-17 06:33:25 +0000 | [diff] [blame] | 91 | \begin{funcdesc}{FindFolder}{where, which, create} |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 92 | Locates one of the ``special'' folders that MacOS knows about, such as |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 93 | the trash or the Preferences folder. \var{where} is the disk to |
| 94 | search, \var{which} is the 4-character string specifying which folder to |
Jack Jansen | da53c52 | 1995-10-10 14:43:20 +0000 | [diff] [blame] | 95 | locate. Setting \var{create} causes the folder to be created if it |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 96 | does not exist. Returns a \code{(\var{vrefnum}, \var{dirid})} tuple. |
Fred Drake | 2999607 | 1997-08-22 13:45:13 +0000 | [diff] [blame] | 97 | \end{funcdesc} |
Jack Jansen | da53c52 | 1995-10-10 14:43:20 +0000 | [diff] [blame] | 98 | |
Guido van Rossum | e229d86 | 1997-08-18 15:14:26 +0000 | [diff] [blame] | 99 | \begin{funcdesc}{NewAliasMinimalFromFullPath}{pathname} |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 100 | Return a minimal \pytype{alias} object that points to the given file, which |
Guido van Rossum | e229d86 | 1997-08-18 15:14:26 +0000 | [diff] [blame] | 101 | must be specified as a full pathname. This is the only way to create an |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 102 | \pytype{Alias} pointing to a non-existing file. |
Guido van Rossum | e229d86 | 1997-08-18 15:14:26 +0000 | [diff] [blame] | 103 | |
Jack Jansen | da53c52 | 1995-10-10 14:43:20 +0000 | [diff] [blame] | 104 | The constants for \var{where} and \var{which} can be obtained from the |
| 105 | standard module \var{MACFS}. |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 106 | \end{funcdesc} |
| 107 | |
Guido van Rossum | 7e42cab | 1996-10-15 14:37:31 +0000 | [diff] [blame] | 108 | \begin{funcdesc}{FindApplication}{creator} |
| 109 | Locate the application with 4-char creator code \var{creator}. The |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 110 | function returns an \pytype{FSSpec} object pointing to the application. |
Guido van Rossum | 7e42cab | 1996-10-15 14:37:31 +0000 | [diff] [blame] | 111 | \end{funcdesc} |
| 112 | |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 113 | |
| 114 | \subsection{FSSpec objects \label{fsspec-objects}} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 115 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 116 | \begin{memberdesc}[FSSpec]{data} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 117 | The raw data from the FSSpec object, suitable for passing |
| 118 | to other applications, for instance. |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 119 | \end{memberdesc} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 120 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 121 | \begin{methoddesc}[FSSpec]{as_pathname}{} |
| 122 | Return the full pathname of the file described by the \pytype{FSSpec} |
| 123 | object. |
| 124 | \end{methoddesc} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 125 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 126 | \begin{methoddesc}[FSSpec]{as_tuple}{} |
| 127 | Return the \code{(\var{wdRefNum}, \var{parID}, \var{name})} tuple of |
| 128 | the file described by the \pytype{FSSpec} object. |
| 129 | \end{methoddesc} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 130 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 131 | \begin{methoddesc}[FSSpec]{NewAlias}{\optional{file}} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 132 | Create an Alias object pointing to the file described by this |
Guido van Rossum | 6bb1adc | 1995-03-13 10:03:32 +0000 | [diff] [blame] | 133 | FSSpec. If the optional \var{file} parameter is present the alias |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 134 | will be relative to that file, otherwise it will be absolute. |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 135 | \end{methoddesc} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 136 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 137 | \begin{methoddesc}[FSSpec]{NewAliasMinimal}{} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 138 | Create a minimal alias pointing to this file. |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 139 | \end{methoddesc} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 140 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 141 | \begin{methoddesc}[FSSpec]{GetCreatorType}{} |
| 142 | Return the 4-character creator and type of the file. |
| 143 | \end{methoddesc} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 144 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 145 | \begin{methoddesc}[FSSpec]{SetCreatorType}{creator, type} |
| 146 | Set the 4-character creator and type of the file. |
| 147 | \end{methoddesc} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 148 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 149 | \begin{methoddesc}[FSSpec]{GetFInfo}{} |
| 150 | Return a \pytype{FInfo} object describing the finder info for the file. |
| 151 | \end{methoddesc} |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 152 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 153 | \begin{methoddesc}[FSSpec]{SetFInfo}{finfo} |
| 154 | Set the finder info for the file to the values given as \var{finfo} |
| 155 | (an \pytype{FInfo} object). |
| 156 | \end{methoddesc} |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 157 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 158 | \begin{methoddesc}[FSSpec]{GetDates}{} |
Guido van Rossum | 7e42cab | 1996-10-15 14:37:31 +0000 | [diff] [blame] | 159 | Return a tuple with three floating point values representing the |
| 160 | creation date, modification date and backup date of the file. |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 161 | \end{methoddesc} |
Guido van Rossum | 7e42cab | 1996-10-15 14:37:31 +0000 | [diff] [blame] | 162 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 163 | \begin{methoddesc}[FSSpec]{SetDates}{crdate, moddate, backupdate} |
Guido van Rossum | 7e42cab | 1996-10-15 14:37:31 +0000 | [diff] [blame] | 164 | Set the creation, modification and backup date of the file. The values |
| 165 | are in the standard floating point format used for times throughout |
| 166 | Python. |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 167 | \end{methoddesc} |
Guido van Rossum | 7e42cab | 1996-10-15 14:37:31 +0000 | [diff] [blame] | 168 | |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 169 | |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 170 | \subsection{Alias Objects \label{alias-objects}} |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 171 | |
| 172 | \begin{memberdesc}[Alias]{data} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 173 | The raw data for the Alias record, suitable for storing in a resource |
| 174 | or transmitting to other programs. |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 175 | \end{memberdesc} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 176 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 177 | \begin{methoddesc}[Alias]{Resolve}{\optional{file}} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 178 | Resolve the alias. If the alias was created as a relative alias you |
Guido van Rossum | 6bb1adc | 1995-03-13 10:03:32 +0000 | [diff] [blame] | 179 | should pass the file relative to which it is. Return the FSSpec for |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 180 | the file pointed to and a flag indicating whether the \pytype{Alias} object |
Guido van Rossum | e229d86 | 1997-08-18 15:14:26 +0000 | [diff] [blame] | 181 | itself was modified during the search process. If the file does |
| 182 | not exist but the path leading up to it does exist a valid fsspec |
| 183 | is returned. |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 184 | \end{methoddesc} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 185 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 186 | \begin{methoddesc}[Alias]{GetInfo}{num} |
| 187 | An interface to the \C{} routine \cfunction{GetAliasInfo()}. |
| 188 | \end{methoddesc} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 189 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 190 | \begin{methoddesc}[Alias]{Update}{file, \optional{file2}} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 191 | Update the alias to point to the \var{file} given. If \var{file2} is |
| 192 | present a relative alias will be created. |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 193 | \end{methoddesc} |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 194 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 195 | Note that it is currently not possible to directly manipulate a |
| 196 | resource as an \pytype{Alias} object. Hence, after calling |
| 197 | \method{Update()} or after \method{Resolve()} indicates that the alias |
| 198 | has changed the Python program is responsible for getting the |
Fred Drake | df0e3fc | 1998-04-07 20:04:27 +0000 | [diff] [blame] | 199 | \member{data} value from the \pytype{Alias} object and modifying the |
| 200 | resource. |
Jack Jansen | e4be9be | 1995-02-28 15:46:09 +0000 | [diff] [blame] | 201 | |
| 202 | |
Fred Drake | f6863c1 | 1999-03-02 16:37:17 +0000 | [diff] [blame] | 203 | \subsection{FInfo Objects \label{finfo-objects}} |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 204 | |
Fred Drake | e15eb35 | 1999-11-10 16:13:25 +0000 | [diff] [blame] | 205 | See \citetitle{Inside Macintosh: Files} for a complete description of what |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 206 | the various fields mean. |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 207 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 208 | \begin{memberdesc}[FInfo]{Creator} |
| 209 | The 4-character creator code of the file. |
| 210 | \end{memberdesc} |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 211 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 212 | \begin{memberdesc}[FInfo]{Type} |
| 213 | The 4-character type code of the file. |
| 214 | \end{memberdesc} |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 215 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 216 | \begin{memberdesc}[FInfo]{Flags} |
Jack Jansen | da53c52 | 1995-10-10 14:43:20 +0000 | [diff] [blame] | 217 | The finder flags for the file as 16-bit integer. The bit values in |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 218 | \var{Flags} are defined in standard module \module{MACFS}. |
| 219 | \end{memberdesc} |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 220 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 221 | \begin{memberdesc}[FInfo]{Location} |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 222 | A Point giving the position of the file's icon in its folder. |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 223 | \end{memberdesc} |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 224 | |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 225 | \begin{memberdesc}[FInfo]{Fldr} |
Jack Jansen | e164bd8 | 1995-08-10 11:53:14 +0000 | [diff] [blame] | 226 | The folder the file is in (as an integer). |
Fred Drake | 41788db | 1998-04-04 06:23:02 +0000 | [diff] [blame] | 227 | \end{memberdesc} |