diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-02-12 09:58:33 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-02-12 09:58:33 (GMT) |
commit | 7aeba45b84c7131f39f1f0ad00942c77e28112a3 (patch) | |
tree | c2d9de5193163648a01d30d5426dde66dc4b6f14 /Doc/mac/libmacostools.tex | |
parent | 90975f1ff930cc9464288c0af5989074687cb8c7 (diff) | |
download | cpython-7aeba45b84c7131f39f1f0ad00942c77e28112a3.zip cpython-7aeba45b84c7131f39f1f0ad00942c77e28112a3.tar.gz cpython-7aeba45b84c7131f39f1f0ad00942c77e28112a3.tar.bz2 |
Updated the Mac documentation to the current state of affairs.
Diffstat (limited to 'Doc/mac/libmacostools.tex')
-rw-r--r-- | Doc/mac/libmacostools.tex | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/Doc/mac/libmacostools.tex b/Doc/mac/libmacostools.tex index 78b706d..06ddbc7 100644 --- a/Doc/mac/libmacostools.tex +++ b/Doc/mac/libmacostools.tex @@ -7,14 +7,14 @@ This module contains some convenience routines for file-manipulation -on the Macintosh. +on the Macintosh. All file parameters can be specified as +pathnames, \class{FSRef} or \class{FSSpec} objects. The \module{macostools} module defines the following functions: \begin{funcdesc}{copy}{src, dst\optional{, createpath\optional{, copytimes}}} -Copy file \var{src} to \var{dst}. The files can be specified as -pathnames or \pytype{FSSpec} objects. If \var{createpath} is non-zero +Copy file \var{src} to \var{dst}. If \var{createpath} is non-zero the folders leading to \var{dst} are created if necessary. The method copies data and resource fork and some finder information (creator, type, flags) and @@ -29,8 +29,7 @@ pathnames. \end{funcdesc} \begin{funcdesc}{mkalias}{src, dst} -Create a finder alias \var{dst} pointing to \var{src}. Both may be -specified as pathnames or \pytype{FSSpec} objects. +Create a finder alias \var{dst} pointing to \var{src}. \end{funcdesc} \begin{funcdesc}{touched}{dst} @@ -62,7 +61,7 @@ functionality provided by the finder. They are implemented as wrappers around the AppleEvent\index{AppleEvents} interface to the finder. All file and folder parameters can be specified either as full -pathnames or as \pytype{FSSpec} objects. +pathnames, or as \class{FSRef} or \class{FSSpec} objects. The \module{findertools} module defines the following functions: @@ -74,20 +73,19 @@ in the correct application. \end{funcdesc} \begin{funcdesc}{Print}{file} -Tell the finder to print a file (again specified by full pathname or -\pytype{FSSpec}). The behaviour is identical to selecting the file and using +Tell the finder to print a file. The behaviour is identical to selecting the file and using the print command in the finder's file menu. \end{funcdesc} \begin{funcdesc}{copy}{file, destdir} Tell the finder to copy a file or folder \var{file} to folder -\var{destdir}. The function returns an \pytype{Alias} object pointing to +\var{destdir}. The function returns an \class{Alias} object pointing to the new file. \end{funcdesc} \begin{funcdesc}{move}{file, destdir} Tell the finder to move a file or folder \var{file} to folder -\var{destdir}. The function returns an \pytype{Alias} object pointing to +\var{destdir}. The function returns an \class{Alias} object pointing to the new file. \end{funcdesc} |