chiners_68 Posted July 14, 2006 Share Posted July 14, 2006 im want to use an if exists else goto? what is the commands to goto & then to link to a certain point in the script..? Link to comment Share on other sites More sharing options...
Xenobiologist Posted July 14, 2006 Share Posted July 14, 2006 Hi, there is no goto anymore. Use if then else call func xyz() ... (prosa) So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
MHz Posted July 14, 2006 Share Posted July 14, 2006 You can goto a function by calling it directly. example: If FileExists(@ScriptDir & '\donotexist.exe') Then ; do something here Else _goto() EndIf MsgBox(0, '', 'Demo finished') Exit Func _goto() MsgBox(0, '', 'I goto here now') EndFunc Link to comment Share on other sites More sharing options...
ivan Posted July 14, 2006 Share Posted July 14, 2006 I used to love labels, but they're gone since v3, for good I think. If you like your labels you can always download v2 with all its limitations, compared to v3. Much better than that, as MHz suggests, call functions. The doc is in the help file. Functions were one of the major with respect to v2. Think out of the boxGrabber: Yet another WinInfo tool_CSVLib (still alpha)Dynamic html in au3 Link to comment Share on other sites More sharing options...
Zedna Posted July 14, 2006 Share Posted July 14, 2006 Look into HelpFile And try how v2_to_v3_Converter converts your scripst with GoTo C:\Program Files\AutoIt3\Extras\v2_to_v3_Converter\autoitv2tov3.exe Resources UDF ResourcesEx UDF AutoIt Forum Search 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