boraldo Posted August 24, 2009 Posted August 24, 2009 (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 August 24, 2009 by boraldo
boraldo Posted August 24, 2009 Author Posted August 24, 2009 (edited) FileOpenDialog(), FileSaveDialog() functions?These functions open dialogs themselves. I need to work with already opened dialog. Edited August 24, 2009 by boraldo
Andreik Posted August 24, 2009 Posted August 24, 2009 I don't understand you. What do you mean when you say AutoIt should choose file or destination? Please be more specific.
boraldo Posted August 24, 2009 Author Posted August 24, 2009 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.
Andreik Posted August 24, 2009 Posted August 24, 2009 (edited) Ok, I understood now, but is important how look this upload dialog. Maybe you can focus and then send path. Edited August 24, 2009 by Andreik
boraldo Posted August 24, 2009 Author Posted August 24, 2009 (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 August 24, 2009 by boraldo
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now