openPath(path, [in_file_manager])
Class: SwingUI.
Description:
Opens file or a folder with a default application associated the file type, or inside a file manager application (is specified).
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
|
|
string |
Absolute path of a local file or directory. |
|
|
|
boolean |
false |
Indicates if the file should be open inside a default file manager application instead of a default application associated with that file type. |
Returns:
Returns true if the path exists and this operation is supported by the operating system; otherwise returns false.
Type: boolean
