Sign in to follow this  
Followers 0
stuka

....

4 posts in this topic

#1 ·  Posted (edited)

.

Edited by stuka

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

np... good luck

Share this post


Link to post
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
Sign in to follow this  
Followers 0