Jump to content
Sign in to follow this  

Autoit Can't Find Window

Recommended Posts

Press CTRL-ALT-F to pause the display.

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


Class: #32770

Size: X: 480 Y: 226 W: 320 H: 240

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

Window: X: 154 Y: 198

Cursor ID: 2

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

RGB: Hex: 0xCEFFF0 Dec: 13565936

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

Size: X: 131 Y: 190 W: 60 H: 45

Control ID: 1

ClassNameNN: Button1

Text: OK

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

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


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

I need to find that window and press ENTER



I think I am being a newbie prob.. Please help thanks

Share this post

Link to post
Share on other sites

Could you please post the rest of your script and let us know what application you are trying to control.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post

Link to post
Share on other sites

$OptWTMM = Opt('WinTitleMatchMode', 4)
ControlClick('classname=#32770', 'OK', 'Button1')
Opt('WinTitleMatchMode', $OptWTMM)

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post

Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...