JohnOne Posted July 23, 2010 Posted July 23, 2010 Try that. MouseMove($Pos[0] + 3, $Pos[1] + 3, 0) AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Pottery Posted July 23, 2010 Author Posted July 23, 2010 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 :\
PsaltyDS Posted July 23, 2010 Posted July 23, 2010 It is possible synthetic inputs are simply blocked for security reasons. If the coders of the app don't want you to get around it, they can prevent it. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Pottery Posted July 23, 2010 Author Posted July 23, 2010 (edited) It's my program lol the File Download popup is coming from the Shell.Explorer object.* The Admin CP is the child GUI. Edited July 23, 2010 by Epdmk
Pottery Posted July 24, 2010 Author Posted July 24, 2010 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?
JohnOne Posted July 24, 2010 Posted July 24, 2010 You havent posted program's loop, Why? AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Pottery Posted July 24, 2010 Author Posted July 24, 2010 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 :\
Pottery Posted July 24, 2010 Author Posted July 24, 2010 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.
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