Collapse Sidebar


This function prompts the current Studio user to select one or more files, which will then be loaded as File|Files.

Throws an error if the fileTypeFilter was an empty list.

See also

  • StudioService/PromptImportFile, the same function but for loading a single file instead of a list of files


Name Type Default Description

A list of file types that the user is allowed to select. File types are formatted without a period. For example, {“jpg”, “png”} would allow only JPG and PNG files to be selected. If no filter is provided, the filter is nil and allows the user to select any file type.


Return Type Summary

The imported File|Files. Returns an empty list if no files were selected. Returns nil if the user selected one or more files that were too large (FileSize greater than 100 megabytes)