Sign in to follow this  
Followers 0

WinWait can not find Notepad (Kladblok) window

3 posts in this topic


I have set

AutoItSetOption('WinTitleMatchMode', 2)

to match a substring in the window title

then I try do look for an open Kladblok (=Notepad) window using:

AutoItSetOption('WinTitleMatchMode', 2)


I also tried :


Auto.WinWait('', 'Kladblok')

Auto.WinWait('', 'Kladblok')

but it always fails...

the actual title of the window is something like :

'outF5.tmp - Kladblok'

where 'out' and '.tmp - Kladblok' are constant, the 'F5' can vary every time.


I'm controlling AutoitX3 from python via win32com.client.

How can I effectively capture this beast?



Share this post

Link to post
Share on other sites

i also tried window matching mode 4 and using 'classname=Notepad'

no luck either...

here's the what the Autoit info window says about the Kladblok window:

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<

Title: outE4.tmp - Kladblok

Class: Notepad

Size: X: 16 Y: 23 W: 828 H: 349

>>>>>>>>>>> Mouse Details <<<<<<<<<<<

Screen: X: 251 Y: 230

Cursor ID: 5

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<

RGB: Hex: 0xFFFFFF Dec: 16777215

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<

Size: X: 0 Y: 0 W: 820 H: 301

Control ID: 15

ClassNameNN: Edit1


>>>>>>>>>>> Status Bar Text <<<<<<<<<<<


(2): Ln 1, Col 14

>>>>>>>>>>> Visible Window Text <<<<<<<<<<<

*** ready ***

>>>>>>>>>>> Hidden Window Text <<<<<<<<<<<

Need help!!



Share this post

Link to post
Share on other sites
Sign in to follow this  
Followers 0