mbkowns Posted August 2, 2006 Share Posted August 2, 2006 Press CTRL-ALT-F to pause the display. >>>>>>>>>>>> Window Details <<<<<<<<<<<<< Title: 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 <<<<<<<<<<< OK >>>>>>>>>>> Hidden Window Text <<<<<<<<<<< I need to find that window and press ENTER WinWaitActive("","ok") Send("{ENTER}") I think I am being a newbie prob.. Please help thanks Link to comment Share on other sites More sharing options...
BigDod Posted August 2, 2006 Share Posted August 2, 2006 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 Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted August 2, 2006 Moderators Share Posted August 2, 2006 (edited) $OptWTMM = Opt('WinTitleMatchMode', 4) ControlClick('classname=#32770', 'OK', 'Button1') Opt('WinTitleMatchMode', $OptWTMM) Edited August 2, 2006 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. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now