get_all_texts
get_all_texts($visibled=true,$mained=true); - this function is used to get the texts of all Windows of the specified type.
the input Function accepts parameters:
$visibled – parameter indicating that when executing this command, only visible Windows should be considered (true) or both visible and invisible (false).
$mained – a parameter indicating that when executing this command, only the main Windows should be considered (true) or both main and non-main Windows (false).
After testing, the function returns the result of its work to the script :
text – the text of all found Windows