Modify

Opened 15 years ago

Closed 15 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 Changed 15 years ago by Valik

  • Resolution set to No Bug
  • Status changed from new to closed

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.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.