GetDirectory Method
The GetDirectory method returns a subdirectory by name.
Syntax
[obj=] CDDirectory.GetDirectory(name)
|
Parameters
name |
String that specifies the name of the subdirectory. |
Return Value
Returns a CDDirectory object representing the subdirectory.
Remarks
Examples
The following example shows how to get a subdirectory of the first subdirectory of the root directory.
<SCRIPT TYPE="text/javascript">
window.external.InitScriptInterface();
subDir = SiteKiosk.CDRecording.RootDirectory.Directories.Item(1);
newDir = subDir.GetDirectory("dir");
</SCRIPT>
|
Applies to
SiteKiosk v6.0 (and later versions).
Back to top