|
TorqueScript Reference
|
| Boolean directoryDelete | ( | directoryName | ) |
| directoryName | Name of the directory to remove |
| fileName | Name of the file to remove |
| Name | of file from which to extract extension |
| String fileName | ( | filePathName | ) |
Extract the filename from the full path description
| fileName | The name of the file to check. |
| String findFirstFile | ( | strPattern | ) |
| strPattern | The string pattern to search for. |
| String findFirstFileMultiExpr | ( | strPattern | ) |
| strPattern | The string pattern to search for. |
| String findNextFile | ( | strPattern | ) |
| strPattern | The string pattern to search for. |
| String findNextFileMultiExpr | ( | string | pattern | ) |
Returns the next file matching a search begun in findFirstFile.
| String getCurrentDate | ( | bool | reverse | ) |
Gets the current date and time.
| reverse | Determines if the format will be Month/Day/Year/Hour:Min:Seconds or Year/Month/Day/Hour:Min:Seconds |
| String getCurrentDirectory | ( | ) |
| String getDirectoryList | ( | strPath | , |
| [intDepth] ? | |||
| ) |
| strPath | The path in which to check |
| intDepth | The depth in which to return (default 0 if not specified) |
| String getExecutableName | ( | ) |
| Integer getFileCount | ( | strPattern | ) |
| strPattern | The string pattern to search for. |
| Integer getFileCountMultiExpr | ( | strPattern | ) |
| strPattern | The string pattern to search for. |
| Integer getFileCRC | ( | filename | ) |
| filename | The string representing the file from which to get the CRC |
| String getFileList | ( | strPath | ) |
Gets all the files in the specified directory.
| strPath | The path in which to check |
| String getMainDotCsDir | ( | ) |
| Boolean isDirectory | ( | path | ) |
| pathName | Path to check. |
| fileName | Filename to check. |
| Boolean isValidImageFile | ( | string | filePath | ) |
| filePath | Full path of file to check. |
| fileName | Filename to check. |
| String makeFullPath | ( | string | path, |
| [string currentWorkingDir] ? | |||
| ) |
| String makeRelativePath | ( | string | path, |
| string | to | ||
| ) |
| void openFolder | ( | path | ) |
;
| String pathConcat | ( | string | path, |
| string | file1, | ||
| [... fileN] * | |||
| ) |
| Boolean pathCopy | ( | fromFile | , |
| toFile | , | ||
| [nooverwrite = true] ? | |||
| ) |
| void restartInstance | ( | ) |
| Boolean setCurrentDirectory | ( | absolutePathName | ) |
1.8.3.1