Jump to content

....


stuka
 Share

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...