Vindicator209 Posted May 7, 2007 Posted May 7, 2007 (edited) ook, im modding an old script of mine, and I was wondering if I could achieve this "clicking" action at a faster rate, or without clicking at all, baisically all it does is find the button in this myspace comment thing, and sends(or "clicks") it many times before the browser has a chance to go to the next page, now, I was wondering if there was a way to do this faster, or instantly anyway, currently I added a "turbo" option, but quite frankly, if people have slower connections, the action ends up not happening... so anyway, is there away to achieve this same result without having to wait? =P Do TrayTip("Status", "Comments sent: " & $res & " of:" & $time & @CRLF & "Time Elapsed: " & Round(TimerDiff($timer) / 1000, 0) & " Secs.", 1, 1) _IEAction($oText, "click") Sleep(150) $res = $res + 1 Until $res = $timetst.au3 Edited May 7, 2007 by MethodZero [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]
Zedna Posted May 8, 2007 Posted May 8, 2007 If you want max speed then don't use Sleep(150) Resources UDF ResourcesEx UDF AutoIt Forum Search
Vindicator209 Posted May 21, 2007 Author Posted May 21, 2007 Sorry for the huge delay in reply, I forgot about this thread lol... anyway, I can't do with that because IE needs time to send the form, and if I send them all at once then neither one of them are sent, or only one is sent, [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center]
DaleHohm Posted May 21, 2007 Posted May 21, 2007 _IELoadWait will wait for the page to finish loading before returning control to your script. You'll likely need to get a fresh reference to the form and form elements however because the originals are destroyed and new ones created when the document reloads after the click. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble
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