Sign in to follow this  
Followers 0
RBCC

Screens

8 posts in this topic

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 :)

Share this post


Link to post
Share on other sites



Can you show us your source code, Or if you don't want, some of it?

Share this post


Link to post
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")

Share this post


Link to post
Share on other sites

Are you saying you want to remove the screens in the applications installer? That is a function of the installer, not AutoIt. Those are going to pop up regardless. That is the installer doing it's work.

Share this post


Link to post
Share on other sites

Usually you can tell the installer to take the images out. What installer software are you useing?

Share this post


Link to post
Share on other sites

I am the screens like "do you accept..." Windows Installer

Share this post


Link to post
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.

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