execute_open_file
execute_open_file($text,$path,$btn_text,$exactly=true,$thread=false); - this function is used for processing the file open dialog.
Also keep in mind that the window names can be in different languages, Russian and English are used by default. you should use the Helper folder located in the root of the program to change the window name in text documents.
the input Function accepts parameters:
$text – text of the window (title) for opening the file (or part of it).
$path – the path to specify in this dialog. (if multiple paths are used, the full paths are separated by spaces and quotation marks (as in the example))
$btn_text – button text (together with accelerators).
$exactly – exact match of the window text.
$thread – specifies that to start a separate thread for processing the opening of such dialogs (in this case, the function should be called before the file opening dialog appears).
After testing, the function returns the result of its work to the script :
true – processing was successful.
false – errors occurred (the input file does not exist).