Jump to content

Recommended Posts

Posted

Aye guys, I'm working on a downloader bot for a website. Everythings good, it uses the proxy in the edit box and clicks 'download the file' on the webpage, but when the popup box that says 'File Download - Security Warning' and says like 'save, run, close', how would I get it to save? I've tried sending.. like !s, for the hotkey set to save as default, but it doesn't work. I tried Send("{Tab}") until the focus box was over the save button, the sent enter, still didn't work. So if anyone knows how I would basicly click save, ( not with the mouse functions ), please help me.

By the way, WinWaitActive('File Download - Security Warning") Doesn't seem to work. Thanks guys..

Area of Coding.. that needs the help. Been messing with it.

$oForm = _IEFormGetCollection($oIE,1)
    $oButton = _IEFormElementGetCollection($oForm,0)
    _IEAction($oButton,'click') 
        Sleep(3250)
        Send("!s")
                Sleep(100)
        Send("file")
        Sleep(150)
        Send("{Enter}")
        Sleep(150)
        FileDelete("C:\Documents and Settings\Dell Customer\My Documents\File.exe")

GUI.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...