Vicon Shogun banner

Description

Shows the system File Browser dialog box, which allows users to choose a folder.

Functional area

User Window

Command syntax

Syntax

dirChooser [-owner integer] [-title string] [-path string] [-failOnCancel]

Arguments

None

Flags

NameFlag argumentsArgument typeExclusive toComments
owner1integerSpecifies the window ID of a user window to be the "owner" of the File Browser. Essentially, centers the browser to the user window.
title1stringSpecifies the title of the file browser window. The default is "Please select a folder".
path1stringSpecifies the initial directory of the file browser when it is displayed.
failOnCancel0Causes execution to stop with an error. If this is not specified, an empty string is returned and execution will continue.

Return value

string