foreground
foreground();
- this function is used to bring the window to the foreground.
After testing, the function returns the result of its work to the script :
true
– found and output.
false
– couldn't find it.