Fuego.Ui : FileChooser

The FileChooser component prompts end users to select a file from their local filesystem.

This component should only be used directly from the Main Task of Interactive activities, and not from PBL scripts. Within the Main Task of the activity, set Implementation Type to Component, select the FileChooser component and method run.

Example: Prompt the end user to select a file

userFile = run(FileChooser)
display "Selected file: " + userFile + "\n"+
	"Directory from where it was selected: " +
	 FileChooser.dirName