A SERVICE OF

logo

MediaScript Objects and Methods 27
Parameters
This function takes no parameters.
getLastModified()
Returns the last modified date in seconds since midnight January 1, 1970. If the file does
not exist or cannot be accessed, the function returns 0.
Syntax
<object name>.GetLastModified();
Parameters
This function takes no parameters
getLastAccessed()
Returns the last accessed date in seconds since midnight January 1,1970. If the file does not
exist or cannot be accessed, the function returns 0.
Syntax:
<object name>.GetLastAccessed();
Parameters
This function takes no parameters
getParentPath()
Returns the parent path for the object.
Syntax
<object name>.getParentPath();
If the object’s full file path is C:\Program
Files\Equilibrium\MediaRich\Shared\Originals\Media\camera.png,
getParentPath() returns “C:\Program
Files\Equilibrium\MediaRich\Shared\Originals\Media\”.
Parameters
This function takes no parameters.
getSize()
Returns the file size in bytes. If file does not exist, cannot be accessed, or is empty, the
function returns 0.
Syntax:
<object name>.GetSize();
Parameters
This function takes no parameters