Jump to content

Recommended Posts

Posted (edited)

I want to use Autoit with some web tool. This tool opens in browser "Choose file" dialog for uploading/downloading file and then Autoit should choose file or destinantion directory.

How can I do it ?

Edited by boraldo
Posted (edited)

FileOpenDialog(), FileSaveDialog() functions?

These functions open dialogs themselves. I need to work with already opened dialog. Edited by boraldo
Posted

Please be more specific.

Step 1. Tool T opens browser and goes to the site S.

Step 2. T clicks button, this causes File upload dialog to appear.

Step 3. Autoit chooses file in that dialog.

I need step 3.

Posted (edited)

Ok, I understood now, but is important how look this upload dialog. Maybe you can focus and then send path.

Edited by Andreik
Posted (edited)

I am already able do upload. What about download ?

Suppose we have already opened "file download window".

Here is my code:

$title="Saving"

WinWait($title)

WinActivate($title)

ControlClick($title,"","[CLASS:Button; INSTANCE=2]")

Window activates but then nothing happens.

Edited by boraldo

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
×
×
  • Create New...