File Class Reference


File class is used to interact with the user. Please take a look at the examples section for more details.
Method Description
SelectDialog Displays an open-file dialog box allowing the user to select a file. Returns a FolderItem or nil if the user cancel the operation.
SaveDialog Used to present the standard Save As dialog box to the user. Returns a FolderItem or nil if the user cancel the operation.
SelectFolderDialog Displays an open-file dialog box allowing the user to select a folder. Returns a FolderItem or nil if the user cancel the operation.
SetPath Used to create a FolderItem based on the path string passed as first parameter. Second parameter specify path type and can be 0 for an absolute path, 1 for a shell path and 2 for a URL path.