Skip to content

Commit

Permalink
Update SimpleBackup.au3
Browse files Browse the repository at this point in the history
  • Loading branch information
jmclaren7 committed Sep 18, 2023
1 parent 6330e8e commit 5c6ab80
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions SimpleBackup.au3
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#AutoIt3Wrapper_UseX64=y
#AutoIt3Wrapper_Change2CUI=y
#AutoIt3Wrapper_Res_Description=SimpleBackup
#AutoIt3Wrapper_Res_Fileversion=1.0.0.186
#AutoIt3Wrapper_Res_Fileversion=1.0.0.189
#AutoIt3Wrapper_Res_Fileversion_AutoIncrement=y
#AutoIt3Wrapper_Res_ProductVersion=1
#AutoIt3Wrapper_Res_LegalCopyright=SimpleBackup
Expand Down Expand Up @@ -151,6 +151,7 @@ Switch $Command
_GUICtrlMenu_SetMenu($SettingsForm, $g_hMain)

_GUICtrlMenu_SetItemState($g_hMain, $FixConsoleMenuItem, $MFS_CHECKED, True, False)
If $LogLevel = 3 Then _GUICtrlMenu_SetItemState($g_hMain, $VerboseMenuItem, $MFS_CHECKED, True, False)
GUIRegisterMsg($WM_COMMAND, "_WM_COMMAND")


Expand Down Expand Up @@ -282,10 +283,10 @@ EndSwitch
Func _WM_COMMAND($hWnd, $iMsg, $wParam, $lParam)
Local $Temp = _WinAPI_LoWord($wParam)

_ConsoleWrite("_WM_COMMAND ($Temp = " & $Temp & ") " & $GUI_RUNDEFMSG, 3)
;_ConsoleWrite("_WM_COMMAND ($wParam = " & $Temp & ") ", 3)

If $Temp >= 1000 And $Temp < 1100 Then
_ConsoleWrite("Update $MenuMsg")
_ConsoleWrite("Updated $MenuMsg To " & $Temp)
Global $MenuMsg = $Temp
EndIf

Expand Down Expand Up @@ -456,7 +457,9 @@ Func _Exit()
For $i = 1 To $aList[0]
$RemovePath = $sPath & $aList[$i]
DirRemove($RemovePath, 1)
_ConsoleWrite("DirRemove: " & @error & " (" & $aList[$i] & ")")
_ConsoleWrite("DirRemove: " & @error & " (" & $aList[$i] & ")", 3)
Next

_ConsoleWrite("Cleanup Done, Exiting Program")
EndFunc

0 comments on commit 5c6ab80

Please sign in to comment.