new2autoit2 Posted October 9, 2007 Share Posted October 9, 2007 I am new to AutoIt I managed to write a script that goes to a web page e.g. www.snapfiles.com and starts the file download dialog. I have a small window active "File Dopwnload" on top of the snapfiles webpage. I have three options Run, Save, Cancel If I type s it works, if I send s it doesn't work. How can I in the script select the save? Link to comment Share on other sites More sharing options...
new2autoit2 Posted October 9, 2007 Author Share Posted October 9, 2007 What I tried is: $Wind = _IECreate ("http://www.snapfiles.com/download/dladaware.html") WinWaitActive("File Download") Send("s") WinWaitActive("Save As") Send("{ENTER}") WinWaitActive("Download Complete") Send("{ENTER}") Sleep(1000) _IEQuit($Wind) Which does not work ..... Link to comment Share on other sites More sharing options...
Blue_Drache Posted October 9, 2007 Share Posted October 9, 2007 (edited) You're close. Take a look at ControlClick() and WinClose()Control Click is much more reliable than sending an !s, though it does work. Edited October 9, 2007 by Blue_Drache Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache Link to comment Share on other sites More sharing options...
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