Modify

Opened 17 years ago

Closed 17 years ago

#1041 closed Bug (No Bug)

WinExists Error

Reported by: Wooltown <sven.ullstad@…> Owned by:
Milestone: Component: AutoIt
Version: 3.3.0.0 Severity: None
Keywords: Cc:

Description

The script below returns any window that exists, I have a problem: we are running LabView, and sometimes it launches an error window without title and the contents of the windows is graphical so there isn't any text to retrieve.

It should report true only if a window without a title exist.

Opt("WinTitleMatchMode", 3)
Opt("WinSearchChildren", 1)
If WinExists("") Then

MsgBox(0,"Title",WinGetTitle(""))

EndIf

Attachments (0)

Change History (1)

comment:1 by Valik, 17 years ago

Resolution: No Bug
Status: newclosed

I suggest you re-read the documentation to learn what the syntax you are using really means. Second, even if it behaved how you wish, it would always return true because there are always hidden windows with no title in existence. In fact, most of the windows in the system do not have a title.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.