Jump to content

Recommended Posts

Posted

Hi,

I'm scripting an app installation and on one of the windows I have to choose the 2nd radio button. I tried this line:

--------------------

WinWaitActive("InstallShield Wizard", "[CLASS:Button;TEXT:Floating: access licenses from remote server;INSTANCE:2]")

WinWaitActive("InstallShield Wizard", "&Next")

Send("{ENTER}")

--------------------

but it doesn't seem to want to choose the button and move to the next screen.

Would you kindly point me in the right direction?

Thanks, Ben

Posted

--------------------

WinWaitActive("InstallShield Wizard", "[CLASS:Button;TEXT:Floating: access licenses from remote server;INSTANCE:2]")

WinWaitActive("InstallShield Wizard", "&Next")

Send("{ENTER}")

--------------------

Couple of things to check here...

Do you have two windows that both say "Floating: access licenses from remote server"?

That's what it's looking for since you're using instance 2.

Also, it's possible the windows exist but aren't active. Change WinWaitActive to WinWait, and do WinActivate before your Send.

Ideally, you should get the control ID and use ControlClick... No activation required.

[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

Posted

Couple of things to check here...

Do you have two windows that both say "Floating: access licenses from remote server"?

That's what it's looking for since you're using instance 2.

Also, it's possible the windows exist but aren't active. Change WinWaitActive to WinWait, and do WinActivate before your Send.

Ideally, you should get the control ID and use ControlClick... No activation required.

Thanks a lot! ControlClick("Window Name","Text",[iD:XXX]) did it very well!

Thanks again, Ben

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
×
×
  • Create New...