Sign in to follow this  
Followers 0
cowsmanaut

more issues with reading from install windows

5 posts in this topic

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<
Size:       X: 153  Y: 245  W: 316  H: 24
Control ID: 6096
ClassNameNN:    RichEdit20W3
Text:

this is what I get from the window

and

case WinExists('Adobe Audition','Serial Number')
    ControlFocus ( "Adobe Audition", "Serial Number", 6096 )
    ControlSend("Adobe Audition", "Serial Number", "6096", "**serial number was in here**")
    ControlClick('Adobe Audition', 'Serial Number','&Next >' )

this is what I'm trying to do with it.. all it does though is click next without inputing the serial in..

anyone have an idea as to why it would skip past?

also.. when i get to the language selection screen I've got it to hit next on all the other windows with the way Larry helped me work out and it then chokes on the language selection screen.. even though it's there in the window feed that the same elements are there as in other windows it happily clicked next on for me.

Why should this one be so different? I don't get it..

moo

Share this post


Link to post
Share on other sites



ok.. just noticed the quotes around the number.. took those out and it worked.. but still locks on that choose your language thing... if I could get some help on that still

thanks :)

Share this post


Link to post
Share on other sites

no thoughts?

perhaps a better description of what's happening

the code looks for the "&Next >" in the window and for the title which is "Adobe Audition" both of which are there.. visible in the window spy.. it's apparent that it is indeed there as the script is still looping as well but not pressing the button. If those were not there, it would have exited by now.

So I can not figure out why it seemingly can not press it as litterally it is the *same* code that closed all the previous windows.

This is a language selection window so it has a scroling list of languages in the window. Though that is the only difference. How could this block it from reaching the next button?

baffles me...

Share this post


Link to post
Share on other sites

I'll try that.. but with

case WinExists('Adobe Audition','&Next >')

if that case is not fullfilled.. wouldn't the loop exit? if it were instead :

('Adobe Audition','&Next >') (*two spaces*)

or is the window title enough to keep it looking?

moo

Share this post


Link to post
Share on other sites

>>>>>>>>>>>> Window Details <<<<<<<<<<<<<
Title:  Adobe Audition 1.5 - Setup
Class:  MsiDialogCloseClass
Size:   X: 388  Y: 319  W: 504  H: 386

>>>>>>>>>>> Mouse Details <<<<<<<<<<<
Screen: X: 763  Y: 681
Cursor ID:  2

>>>>>>>>>>> Pixel Color Under Mouse <<<<<<<<<<<
RGB:    Hex: 0xF5F5F1   Dec: 16119281

>>>>>>>>>>> Control Under Mouse <<<<<<<<<<<
Size:       X: 306  Y: 324  W: 88   H: 22
Control ID: 6020
ClassNameNN:    Button1
Text:       &Next >

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


>>>>>>>>>>> Visible Window Text <<<<<<<<<<<
&Next >
InstallShield
< &Back
&Cancel
Click Next to view the End User License agreement.
Select EULA Language
Choose the language that you would prefer to view the End User License Agreement.
InstallShield
InstallShield
BmpDlgImage

that is the complete dump from the window viewer.. as you can see.. one space. Still hangs on this window.. I don't understand it grrr..

case WinExists('Adobe Audition','&Next >')
       ControlClick('Adobe Audition', '&Next >','&Next >' ) 
       Sleep(1000)

the code used to pass it.. that oddly won't work but works on all the other pages containing these elements :)

is there anything else I can do to pull info on this window to help you help me better :evil: anyone got a more indepth window spy?

moo

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  
Followers 0