Jump to content

Screens


RBCC
 Share

Recommended Posts

I have created a script using scite and it works beautifully, however it has screens that the application uses during its installation. How do I take them out before I compile the script. Also will it still work? John :)

Link to comment
Share on other sites

Opt("WinWaitDelay",100)

Opt("WinTitleMatchMode",4)

Opt("WinDetectHiddenText",1)

Opt("MouseCoordMode",0)

Run('H:\WinXP\corel photo paint 11\CorelDraw 11\coreldraw11\Setup.exe')

WinWait("Program Manager","FolderView")

If Not WinActive("Program Manager","FolderView") Then WinActivate("Program Manager","FolderView")

WinWaitActive("Program Manager","FolderView")

MouseMove(390,591)

MouseDown("left")

MouseUp("left")

WinWait("Corel Graphics Suite 11","The Installation Wiz")

If Not WinActive("Corel Graphics Suite 11","The Installation Wiz") Then WinActivate("Corel Graphics Suite 11","The Installation Wiz")

WinWaitActive("Corel Graphics Suite 11","The Installation Wiz")

MouseMove(358,356)

MouseDown("left")

MouseMove(358,357)

MouseUp("left")

WinWait("Corel Graphics Suite 11","Do you accept all th")

If Not WinActive("Corel Graphics Suite 11","Do you accept all th") Then WinActivate("Corel Graphics Suite 11","Do you accept all th")

WinWaitActive("Corel Graphics Suite 11","Do you accept all th")

Link to comment
Share on other sites

That's what I thought...

If you are installing an application, those windows ARE going to pop up regardless of what you tell AutoIt to do. It's the way the installer was written and you can't change that fact with AutoIt. You can have AutoIt speed things up immensely by clicking the various buttons and entering relevant data for you, but the installer is going to step through all of it's necessary installation rigmarole as dictated by the programmer.

So the best you can do is be momentarily distracted by numerous windows rapidly opening and closing as AutoIt does it's magic.

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
 Share

  • Recently Browsing   0 members

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