TrFile_InsertContents |
Inserts text into a file, at the specified position.
Syntax
TrFile_InsertContents ( switches ; sourceFilePath ; destFilePath ;
insertText ; { position } )
TrFile_InsertContents |
Inserts text into a file, at the specified position.
TrFile_InsertContents ( switches ; sourceFilePath ; destFilePath ;
insertText ; { position } )
TrFile_Launch |
Opens a file with the application that has registered it. This is the same application that would open it if you would manually double-click it.
TrFile_Launch ( switches ; filePath ; { params } )
TrFile_ListDisks |
Lists the names of all currently available disks.
TrFile_ListDisks ( switches )
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 } } )