TrFile_ListFolder |
Lists what is inside a folder (directory). It will return all files and/or folders, depending on the switches given.
Syntax
TrFile_ListFolder( switches ; folderPath )
TrFile_ListFolder |
Lists what is inside a folder (directory). It will return all files and/or folders, depending on the switches given.
TrFile_ListFolder( switches ; folderPath )
TrFile_MountDisk |
Connect to a shared network volume, by mounting the disk. You can then for example read or save files on this disk.
TrFile_MountDisk ( switches ; zone ; server ; disk ; { username ;
password } )
TrFile_MoveFile |
Moves (or renames) a file from one location to another.
TrFile_MoveFile ( switches ; sourceFilePath ; destinationFilePath )
TrFile_MoveFolder |
Moves a folder to the specified folder path. Can also be used to rename the folder.
TrFile_MoveFolder ( switches ; sourceFolderPath ; destinationFolderPath )
TrFile_ResolveAlias |
Resolves an alias file (or shortcut). It returns the path to the destination of the alias file.
TrFile_ResolveAlias ( switches ; aliasPath )
TrFile_Reveal |
Reveals a file (or folder) in the Finder or Explorer.
TrFile_Reveal ( switches ; filePath )
TrFile_SaveFileDialog |
Presents the user with a dialog, in which the user can specify where to save a file. The function returns with the FilePath of the chosen file. Use this FilePath for other File plug-in functions.
TrFile_SaveFileDialog ( switches ; prompt ; { defaultName ;
{ initialFolder } } )
TrFile_Search |
Search a folder (or volume) for a file or folder (directory).
TrFile_Search ( switches ; folderPath ; searchName )
TrFile_SelectFileDialog |
Presents the user with a standard dialog and displays all files in a directory.
TrFile_SelectFileDialog ( switches ; prompt ; { initialFolder } )
TrFile_SelectFolderDialog |
With this function the user can select a folder on disk. The function will show the user a standard dialog with the hierarchy of folders on the computer.
TrFile_SelectFolderDialog ( switches ; prompt ; { initialFolder } )