Jump to content

Loop Tutorial help


Recommended Posts

First off, thank you all for helping me with AutoIt. I'm from the Linux world, and I've found AutoIt to be a Windows gem for mass software installs.

I'm working on an install script for a Macromedia InstallAnywhere file, and it has no "visible text". I can automate up to the install part (copying files, etc.), but I need one more Send("{SPACE}") at the end. However, because all the window titles are the same, if I send the Send("{SPACE}") after the install starts, it cancels (b/c space hits the cancel button).

Here's what I propose, but I don't know how to implement it:

1) Use my script to automate up to install part.

2) During install (copy files), run a loop that does two things:

*Check if a file exists (desktop icon)

*Wait 60 seconds

3) When it does find this file (meaning install finished), send a Send("{SPACE}").

I've been researching the While,Wend loop, but I really need help structuring. Thanks for any help! It's much appreciated!

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