Guest nephrosis Posted July 19, 2004 Share Posted July 19, 2004 ok guys i am very VERY new to autoit3 (i am used to 2) but i was very fond of having the GoTo command for looping. can someone plz post a detailed way to loop a macro???? also, i need a script that will exit popups (i have a script that clicks on one place and ever so offten it goes to like intermission and it clicks on a add then it screws with the clicking on the website. is there any way i can make it so the window is always up and when it clicks on an add it exits out of it? Link to comment Share on other sites More sharing options...
emmanuel Posted July 19, 2004 Share Posted July 19, 2004 RTFM on While...Wendthe rest of these areas might help too.-----------------------------------------------------------Getting started with autoit and programing.-----------------------------------------------------------Download AutoIt v3 - Install the script engine, helpfile, window spy.http://www.autoitscript.com/fileman/users/jdeb/scite4autoit3.exe - Installs the SciTE text editor with autoit customizations (props to Jdeb) and it's helpfile.The autoit helpfile has quite a bit of information available to folks like us without much basic programing knowledge, I really suggest reading (I printed alot of it) the following sections:Using AutoItLanguage ReferanceKeyword ReferenceMacro ReferenceI'd then suggest perusing the Language referance section, based on your intended uses of autoit, perhaps highlighting the String Management section, as that's handy in just about any application.Hope that helps give you a kickstart. "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
Davman Posted July 19, 2004 Share Posted July 19, 2004 it depends what you are trying to get the new "goto" loop to do. if you mean re-run a macro forever, While $done = 0 do stuff here Wend that'll run until $done is set to anything other than 0. uhh.... exiting popups?? get firefox... Sitting comfortably behind the code. Link to comment Share on other sites More sharing options...
emmanuel Posted July 19, 2004 Share Posted July 19, 2004 it depends what you are trying to get the new "goto" loop to do. if you mean re-run a macro forever,While $done = 0do stuff hereWendthat'll run until $done is set to anything other than 0.uhh.... exiting popups?? get firefox...And to make it go forever (and a day):To create an infinite loop, you can use a non-zero number as the expression. "I'm not even supposed to be here today!" -Dante (Hicks) Link to comment Share on other sites More sharing options...
Davman Posted July 19, 2004 Share Posted July 19, 2004 my bad... *hangs head in shame and re-reads TFM* Sitting comfortably behind the code. 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