Jump to content

Recommended Posts

Posted

Hi, I'm looking for a function to detect unknown title window, which is msgbox. I only know that te diference by te msgbox and other windows is it style 0x94C801C5.

If anybody will know how to detect it, I'll be grateful.

Posted (edited)

ok, but I have a lot of diffrents titles, thats why I cant use that function. In most cases I just don't know what window will be appear, and what title it will have.

I'm must detect type of window, not title or content

Edited by Kornel
Posted

It doesn't work

It shows all windows in whole Windows system (209 windows)... And when I put there main windows title, then it does not find msgbox windows..., with title "" it find only one window...

Is there any way to check window by a style or smoe window type?

Posted

doesn't work for style... in help file wrote:

A special description can be used as the window title parameter. This description can be used to identify a window by the following properties:

TITLE - Window title 
CLASS - The internal window classname 
REGEXPTITLE - Window title using a regular exp<b></b>ression (if the regular exp<b></b>ression is wrong @error will be set to 2) 
REGEXPCLASS - Window classname using a regular exp<b></b>ression (if the regular exp<b></b>ression is wrong @error will be set to 2) 
LAST - Last window used in a previous AutoIt command 
ACTIVE - Currently active window 
X \ Y \ W \ H - The position and size of a window 
INSTANCE - The 1-based instance when all given properties match 
One or more properties are used in the title parameter of a window command in the format:

[PROPERTY1:Value1; PROPERTY2:Value2]

It seams the style option doesn't exist. Thats why I wrote this topic >_<

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...