Jump to content

Save as in IEcreate


Recommended Posts

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

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

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

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