Jump to content

Cannot Detect Window


Recommended Posts

I have a installation program that I am trying to script. I have a window that has an "ok" and a "cancel" button all I need to do is send an "enter" command. The script seems to skip this window and go to the next window however it does not accept the enter command thus pausing because windows is still waiting for the ENTER command.

Here is what AU3_spy say is there

>>>>>>>>>>>>( Window Title )<<<<<<<<<<<<<


( classname=TMessageForm )

>>>>>>>>>>>( Mouse Position )<<<<<<<<<<<<

On Desktop: x: 657 y: 544

In Window: x: 411 y: 203

>>>>>>>>>>>>>( Pixel Color Under Mouse)<<<<<<<<<<<<<

Dec: 15199982 Hex: 0xE7EEEE

>>>>>>>>>>>( Window Position )<<<<<<<<<<<

left: 246 top: 341 width: 579 height: 240

>>>>>>>>( Last Control Under Mouse )<<<<<<<

>>>>>>>>>( Status Bar Text )<<<<<<<<

>>>>>>>>>>>( Visible Window Text )<<<<<<<<<



>>>>>>>>>>( Hidden Window Text )<<<<<<<<<

By the way there is a whole bunch of text in this window that is not detected that is visable.

Here is the code I first used

RunWait ( 'c:\isispeed\isispeed.exe' )

WinWait ( 'Information', '2000' )

if NOT WinActive ( 'Information', '' ) then

WinActivate ( 'Information' )


WinWaitActive ( 'Information', '500' )

Send ( '{Enter}' )

Send ( '{Tab}{Tab}{Enter}' )

WinWait ( 'Open', 'File &name:' )

Using the scripticontip thing-a-majig it report that the script is stopping on the last line of the above code. Any thoughts? At the time I am running this on a windows XP Pro computer


Link to comment
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...