Jump to content

Recommended Posts

Posted

Hi, I am using Auto IT to package install of 3 apps. Everything works fine apart from the "hit F to Finish" final window not being activated. I can't figure out how I resolve this and would greatly appreciate some advice. I've tried everything I can think of and wasted too much time! Someone please show me what I am missing!

It just hangs at the final window - I have checked that name is correct. All I have to do is hit the F key so don't think I'm too far away!

Thanks in advance!

The last 2 commands are pasted below.

Do

Winactivate("Setup Wizard","Hit I to Install")

Sleep(500)

Until Winactive("Setup Wizard")

Send("I")

Do

Winactivate("Setup Wizard","Hit F to Finish")

Sleep(500)

Until Winactive("Setup Wizard")

sleep(500)

Send("F")

Posted

Have tried "F", "!F", "f", "ENTER" - everything - but it still won't finish. I don't think the window is being activated even though I have double checked it is named correctly in script.

Any other ideas?

Thanks

Posted

Have tried "F", "!F", "f", "ENTER" - everything - but it still won't finish. I don't think the window is being activated even though I have double checked it is named correctly in script.

Any other ideas?

Thanks

Make sure it is active, you could try control send to the HWND of the window?
Posted

2 lines match in both loops.

Until WinActive("Setup Wizard")oÝ÷ Øííl·§v+zf¢Ê)zwè­ª^®*jwr¢ç§µêíí§vZ(¦Ø^*.®Çª¹éÜzf²}¨¥RDz¢êí{ij¶¦z׫¶§²êÞrëyËh¥êÚ¶*'jëh×6Do
    WinActivate("Setup Wizard", "Hit I to Install")
    Sleep(500)
Until WinActive("Setup Wizard", "Hit I to Install")
Send("I")

Do
    WinActivate("Setup Wizard", "Hit F to Finish")
    Sleep(500)
Until WinActive("Setup Wizard", "Hit F to Finish")
Sleep(500)

Send("F")

If that fails, then you have another issue causing the problem. Check whether the Alt key needs to also be pressed with the F key using Send(). WinClose() maybe another option to try with the last window.

:)

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...