GraveReaper0 Posted April 4, 2005 Share Posted April 4, 2005 (edited) This lil thing has been written to upload multiple pics at once. So with some help with the For..Next command, I came up with this $answer= InputBox("Graveo's Script", "How many pics do you want to upload?") $answer1= InputBox("Graveo's Script", "How long do you want to wait to upload a pic?") WinWaitActive("-storage upload - Mozilla Firefox") MouseClick("left", 822, 470, 1) WinWaitActive("File Upload") Send("{TAB 7}") Sleep(200) For $i= 1 to $answer Send("{ENTER}") Sleep(50) MouseClick("left", 619, 505, 1) Sleep($answer1) MouseClickDrag("left", 415,386, 820,386) Send("^c") MouseClick("left", 107,127, 1) MouseClick("left", 861,655, 1) Send("[img]") Send("^v") Send("[/img]") Send("{ENTER}") MouseClick("left", 410,125, 1) Send("{DOWN " & $i & "}") Next ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; But when I run that, and once it opens the upload window it just sits there with its thumb up its arse not doing anything. What's wrong with it? Edited April 4, 2005 by GraveReaper0 Link to comment Share on other sites More sharing options...
SlimShady Posted April 4, 2005 Share Posted April 4, 2005 1. Study the script 2. Find out where it pauses/stops. Link to comment Share on other sites More sharing options...
GraveReaper0 Posted April 4, 2005 Author Share Posted April 4, 2005 (edited) Just ran it again, and it doesnt stop. It keeps going BUT it doesnt send the Send({ENTER}) command, and once its done, its goes back to the For command, completely ignoring the WinWaitActive("-storage upload - Mozilla Firefox") MouseClick("left", 822, 470, 1) WinWaitActive("File Upload") Send("{TAB 7}") Sleep(200) Edited April 4, 2005 by GraveReaper0 Link to comment Share on other sites More sharing options...
zeroZshadow Posted April 4, 2005 Share Posted April 4, 2005 maby because the for is AFTER the WinWaitActive("-storage upload - Mozilla Firefox") MouseClick("left", 822, 470, 1) WinWaitActive("File Upload") Send("{TAB 7}") Sleep(200) ????? lol tell me that site it uses. i'll try to fix it when i have the time *If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip... Link to comment Share on other sites More sharing options...
GraveReaper0 Posted April 5, 2005 Author Share Posted April 5, 2005 Yea but it has to be there. 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