n is a number indicating which window the script wants the title of.
Action
Determines the title of the nth window.
Returns
The title of the nth window.
Windows are ordered from front to back, so the first window is the frontmost one. If n is greater than the number of windows, the empty string is returned.