gimx Posted December 28, 2007 Posted December 28, 2007 Hello, I don't find "Goto" command in Autoit. I want make a script like that : If var="blablabla" Then Goto BLABLABLA Else Goto BLOBLOBLO :BLABLABLA (code) :BLOBLOBLO (code) Is it possible or not plz ? Thx
Jex Posted December 28, 2007 Posted December 28, 2007 AutoIt haven't "Goto" command. You can use functions. I mean like that : If $var="blablabla" Then BLABLABLA() Else BLOBLOBLO() EndIf Func BLABLABLA() (code) EndFunc Func BLOBLOBLO() (code) EndFunc My scripts : Immediate Window , My Web Browser , Travian , Text Effect , Characters & Words per minute or second , Image Editor (ImageMagick) , Matrix style background effect ( Screensaver ) , Mail Sender , Protectlinks decoder and Rapidshare links checker , Fonts Fetcher , Region determine , Compare pictures , Gradient color box , Mouse Coordinates, Colors, Pixel Search things , Encrypt/Decrypt and embeding file in jpeg thing , Hard disk space monitor , Reflex game , Multiplayer Tic Tac Toe , WLM ( MSN ) personal message changer
BigDod Posted December 28, 2007 Posted December 28, 2007 gimx said: Hello, I don't find "Goto" command in Autoit. I want make a script like that : If var="blablabla" Then Goto BLABLABLA Else Goto BLOBLOBLO :BLABLABLA (code) :BLOBLOBLO (code) Is it possible or not plz ? Thx There is no GOTO in AutoIt we use functions instead. Time you enjoyed wasting is not wasted time ......T.S. Elliot Suspense is worse than disappointment................Robert Burns God help the man who won't help himself, because no-one else will...........My Grandmother
gimx Posted December 28, 2007 Author Posted December 28, 2007 Ok thx I have not yet explored functions but i think i look it asap
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