/
getLastFile
getLastFile
Description
Returns the name of the last opened file.
Useful when querying the scene for the last file opened. This gives you the last file imported if there was one imported into the scene.
Functional area
Data retrieval
Command syntax
Syntax
getLastFile [-noExtension] |
Arguments
None
Flags
See above syntax.
Return value
string
Examples
//query the latest file path and //print it to the command log string $temp = `getLastFile`; print $temp ;
Additional information
Related commands
, multiple selections available,
Related content
getFiles
getFiles
More like this
getFilePath
getFilePath
More like this
getActiveClip
getActiveClip
More like this
getModule
getModule
More like this
getFileTitle
getFileTitle
More like this
readWord
readWord
More like this