TrFile_GetFolderSize |
Returns the size for the folder specified by the folderPath. The size is the total size of all the files in the folder and subfolders.
Syntax
TrFile_GetFolderSize ( switches ; folderPath )
TrFile_GetFolderSize |
Returns the size for the folder specified by the folderPath. The size is the total size of all the files in the folder and subfolders.
TrFile_GetFolderSize ( switches ; folderPath )
Updated file management plug-in for FileMaker Pro 15 adds the creation of transparent thumbnails and getting file icons.
Continue Reading
Use the TrFile_SelectFileDialog function to open up a dialog which lets the user select a file. By default all the files can be selected. If you want the user to be able to select only files with a certain extension use the TrFile_SetDefaultType function first.
To let the user select any file add these script steps to a ScriptMaker script:
Set Variable [$DontCare; TrFile_SetDefaultType( "-Unused"; "")]
Set Variable [$FilePath; TrFile_SelectFileDialog( "-Unused" ; "Please select a file.") ]
This will return the path to the file for example:
MacHD:Users:John:Documents:FinancialReport2014.xlsx
Continue Reading