OpenFolder()
Opens a folder in the operating system file browser.
If the path points to a file, the file browser opens the containing folder and selects the file when the operating system supports it.
Syntax
OpenFolder(path)Parameters
path
Type: string
Path of the folder or file to show.
Return value
This function does not return a value.
Remarks
OpenFolder() is a convenience helper for showing the user where something is stored.
It can be used to open a resource folder, show where an add-on expects the user to copy files, reveal an exported report, or open the folder containing the current log file.
The path can point either to a folder or to a file. When a file path is provided, Tacview asks the operating system file browser to open the containing folder and select the corresponding file when possible.
The exact presentation depends on the operating system and its file browser.
Example
This opens the folder containing the current log file.
See also
Last updated
