mentosan Posted February 18, 2009 Share Posted February 18, 2009 Is it possible to use 2 statements under the same condition :If Not <expression> Then <statement>&&<statement> ? Link to comment Share on other sites More sharing options...
ReaImDown Posted February 18, 2009 Share Posted February 18, 2009 Is it possible to use 2 statements under the same condition : If Not <expression> Then <statement>&&<statement> ? If Not <expression> Then <statement> <statement> endif [u][font="Century Gothic"]~я α и d γ ĵ . ċ . ѕ қ ϊ и и ε я~- My Programs -auto shutdownSleep funcdisallow programs[/font][/u] Link to comment Share on other sites More sharing options...
Ealric Posted February 18, 2009 Share Posted February 18, 2009 (edited) Is it possible to use 2 statements under the same condition : If Not <expression> Then <statement>&&<statement> ? If Not <expression> Then <statement> <statement> EndIf Or If Not <expression> Then For ... .. Next While ... .. Wend function() nextFunction() etc. EndIf Edited February 18, 2009 by Ealric My Projects: [topic="89413"]GoogleHack Search[/topic], [topic="67095"]Swiss File Knife GUI[/topic], [topic="69072"]Mouse Location Pointer[/topic], [topic="86040"]Standard Deviation Calculator[/topic] Link to comment Share on other sites More sharing options...
Bert Posted February 18, 2009 Share Posted February 18, 2009 Take a look in the helpfile about "operators" The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
mentosan Posted February 18, 2009 Author Share Posted February 18, 2009 <statements> are in fact functions,not variables, which are detailed at the end of the script.If Not <expression> Then Modify() && ExitProgram() ?Func Modify().....EndFuncFunc ExitProgram() Exit (0)EndFunc Link to comment Share on other sites More sharing options...
cramaboule Posted February 18, 2009 Share Posted February 18, 2009 <statements> are in fact functions,not variables, which are detailed at the end of the script.If Not <expression> Then Modify() && ExitProgram() ?Func Modify().....EndFuncFunc ExitProgram() Exit (0)EndFuncIf Not <expression> Then Modify() ExitProgram()EndifFunc Modify().....EndFuncFunc ExitProgram() Exit (0)EndFuncC. My Autoit programs: MAC Address - - Delete Temp Files - - Ping Test - - Play Video with VLC full screen dual monitors - - Set IP - - Pics Converter - - AutoUpdater - - CPU Usage - - Ending Script Nicely - - GDI+ GUI crossfades (slide transitions) - - Beamer - - Search and Search in Files - - Silent Ninite Others: Export Icons into Dll - - My website Link to comment Share on other sites More sharing options...
Marlo Posted February 18, 2009 Share Posted February 18, 2009 if true then modify(True) func modify($ShouldWeExit) ;your code If $ShouldWeExit Then Exit(0) endfunc Click here for the best AutoIt help possible.Currently Working on: Autoit RAT 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