Jump to content

Recommended Posts

Posted

It's still the same problem; I can clearly see the button being pushed down but it doesn't register the button press until I click on it myself :\

Posted (edited)

Posted Image

It's my program lol the File Download popup is coming from the Shell.Explorer object.

* The Admin CP is the child GUI.

Edited by Epdmk
Posted

WinActivate('File Download')
$Pos = ControlGetPos('File Download', '', 'Button2')
If Not @error Then
    MouseMove($Pos[0], $Pos[1], 0)
    Sleep(100)
    MouseDown('left')
    Sleep(100)
    MouseUp('left')
    WinWait('Save As')
    Send('{ENTER}')
    Sleep(250)
    If WinActive('Save As', 'Do you want') Then Send('y')
    Sleep(250)
    WinWait('Download complete')
    Send('o')
EndIf

This works when it's by itself in a script, but it won't work in my program's loop, why?

Posted

The loop is over 300 lines long and the loop conains all of my ftp information, it would take too long to go through it all and block it out for posting :\

Posted

I didn't solve the problem, however I found a different file format to solve the issue that the problem was causing. Thanks to everyone for helping me.

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
×
×
  • Create New...