Syntax
LastWindowClassDescription
An instrinsic variable in which the class argument from the last executed SetWindow or WaitForWindow statement is retained.Remarks
See also LastWindowCaption.Example
WaitForWindow
Caption="*Notepad*"
Class="Notepad"
Timeout=5
If TimedOut Then
ScriptError "Timeout waiting for window with caption " & LastWindowCaption &
" and class " & LastWindowClass & "."
EndIfThe above script fragment uses the LastWindowCaption and LastWindowClass variables to show to which window a timeout relates.