TrFile_ExchangeFiles |
Exchanges two files on disk
Syntax
TrFile_ExchangeFiles ( switches ; filePath1 ; filePath2 )
TrFile_ExchangeFiles |
Exchanges two files on disk
TrFile_ExchangeFiles ( switches ; filePath1 ; filePath2 )
TrFile_GetFileStructure |
Returns the file structure of a (movie) file.
TrFile_GetFileStructure ( switches ; filePath )
Exchange Files |
Exchanges two files on disk
Exchange Files [ Select ; Result (error) ; FilePath 1 ; FilePath 2 ;
Allow different Volumes ]
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