glicoauto Posted November 18, 2009 Share Posted November 18, 2009 Hi everybody, I never scripted. I'd like to find a way to automaticly press the OK button in the window that sometimes pops up while downloading a bunch of file from a site. I tried to add more info here: http://img17.imageshack.us/img17/8360/pressok.png I'll try to read the documentation, but if in the meantime anyone could help, maybe pointing to the right discussion, it would help immensely. Best Regards from Italy (Who wants a postcard? :-) Link to comment Share on other sites More sharing options...
PsaltyDS Posted November 18, 2009 Share Posted November 18, 2009 Start out by downloading AutoIt and the modified SciTE editor.When you install the full version of AutoIt, you can open the help file (AutoIt3.chm) where you will find some basic tutorials, the full command reference, and example scripts for almost every function.You'll be particularly interested in looping your script (see While/WEnd in the help file), detecting when the window exists (see WinExists() in the help file), and then hitting OK (maybe ControlSend() or ControlClick() in the help file).If you get stuck, post a more specific question.Welcome to AutoIt. 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 Link to comment Share on other sites More sharing options...
boogieoompa Posted November 18, 2009 Share Posted November 18, 2009 Something like? While 1 Winwaitactive("Title of popup") Send("{Enter}") ; or perhapsMouseClick(x,y) Wend Link to comment Share on other sites More sharing options...
PsaltyDS Posted November 18, 2009 Share Posted November 18, 2009 Something like?That whole "Give a man a fish..." thang is lost on you, huh? 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 Link to comment Share on other sites More sharing options...
glicoauto Posted November 18, 2009 Author Share Posted November 18, 2009 That whole "Give a man a fish..." thang is lost on you, huh? thank you so much... Link to comment Share on other sites More sharing options...
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