stuka Posted September 25, 2007 Share Posted September 25, 2007 (edited) . Edited August 21, 2009 by stuka Link to comment Share on other sites More sharing options...
stampy Posted September 25, 2007 Share Posted September 25, 2007 With only part of the code it's hard to get a picture. But I do see that you don't need the select statement and the if statement. Seems easy enough to just remove the select statement (not the one that you apparently are running the loop with) Case $msg = $deletelog Dim $iMsgBoxAnswer $iMsgBoxAnswer = MsgBox(292,"Autorun Eater v1.0","Are you sure you want to delete the results log?") If $iMsgBoxAnswer = 7 Then ;DO SOMETHING HERE? Else FileDelete (@ScriptDir & "\results.log") ; log deleted traytip TrayTip ("Scan Results", "Results Log Deleted", 1, 1) EndIf Link to comment Share on other sites More sharing options...
stampy Posted September 25, 2007 Share Posted September 25, 2007 Looks as if you are just looking to continue the loop... Case $msg = $deletelog Dim $iMsgBoxAnswer $iMsgBoxAnswer = MsgBox(292,"Autorun Eater v1.0","Are you sure you want to delete the results log?") If $iMsgBoxAnswer = 7 Then continueloop Else FileDelete (@ScriptDir & "\results.log") ; log deleted traytip TrayTip ("Scan Results", "Results Log Deleted", 1, 1) EndIf Link to comment Share on other sites More sharing options...
stampy Posted September 25, 2007 Share Posted September 25, 2007 np... good luck 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