Sign in to follow this  
Followers 0
new2autoit2

Save as in IEcreate

3 posts in this topic

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by Blue_Drache

Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache

Share this post


Link to post
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
Sign in to follow this  
Followers 0