Jump to content

Issue with sending data and trying to continue script


Recommended Posts

Hi again everyone.

Started working with AutoIT again and creating a script to automate a software job. But I've now come across a problem. If I send text to an input box the script seems to stop. Code below:

send ("C:\Program Files\FirefoxPortable") to ("Mozilla Firefox, Portable Edition | PortableApps.com Installer","", "1019","Edit1")

$ReturnedValue = ControlClick("Mozilla Firefox, Portable Edition | PortableApps.com Installer","", "&Install","Button2")

If $ReturnedValue = 0 Then MsgBox(0, "", "Failure")

I'm presuming theres some sort of wait function?.

Link to comment
Share on other sites

I think it would be handy to know how to wait for another action to complete before proceeding.

In this circumstance it seems like I need to wait for the send text to finish before clicking install. I also have another bit of the software that ticks a box and it should wait for thew box to be ticked before proceeding,

Not sure how though.

Edited by jben
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...