FileNameFromWindow$()

Syntax

FileNameFromWindow$([WindowNumber])

Remarks

Returns the path and filename of the document in the specified window.

Argument

Explanation

WindowNumber

The position of the window on the Window menu, where 1 is the first position, 2 is the second position, and so on. If WindowNumber is 0 (zero) or omitted, FileNameFromWindow$() returns the path and filename of the active document; if the active document has never been saved, it returns an empty string ("").


See Also

CountWindows(), FileName$(), WindowName$()