Regular API function

simFileDialog

Description Opens a dialog that allows selecting a file for save or load operations. See also simMsgBox.
C synopsis simChar* simFileDialog(simInt dlgType,const simChar* title,const simChar* startPath,const simChar* initName,const simChar* extName,const simChar* ext)
C parameters
dlgType: the file dialog type.
title: title of the dialog
startPath: the initial path. Indicate an empty string for the path to V-REP's application
initName: the initial name. Can be an empty string
extName: the extension name, e.g. "text file"
ext: the extension, e.g. "txt"
C return value
pointer to a string representing the selected file name and path. In case several files were selected for a load operation, then they will be separated by a semicolon. The user is in charge of releasing the buffer with simReleaseBuffer.
Lua synopsis string pathAndName=simFileDialog(number mode,string title,string startPath,string initName,string extName,string ext)
Lua parameters
Same as C-function
Lua return values
Same as C-function

All regular API functions on one page