get_by_text
get_by_text($text,$exactly=false,$mained=true,$visibled=true); - this function is used to get XHEWindowInterface interface to the specified window, using the text(title) to search for it .
the input Function accepts parameters:
$text – text of the desired window.
$exactly – exact match of the text of the desired window.
$visibled – parameter indicating that the execution of this command, consider only the visible Windows (true) or the visible and invisible (false).
$mained – option indicating that the execution of this command, take into account only the main window (true) or the main and not main (false).
After testing, the function returns the result of its work to the script :
window interface – XHEWindowInterface interface to the specified window.