Skip to content

Commit 52d0b09

Browse files
authored
add file parameters
1 parent bb7ddb7 commit 52d0b09

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

examples/019-mdMsgBox_Example.au3

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@ Func _Example1()
4141
Local $sButtons = "1|2|3|~CANCEL"
4242
Local $sHexText = StringToBinary($sMarkdown, 4) ; Convert to Hex for safe CLI passage
4343

44-
; Call your compiled EXE
4544
; We pass Title, Text (Hex), Buttons and a custom Button Color
4645
Local $iExitCode = mdMsgBox('mdMsgBox.exe /Title:"' & $sTitle & '" /Text:' & $sHexText & ' /Buttons:"' & $sButtons & '" /TopMost:1')
4746

@@ -109,7 +108,7 @@ Func _Example5()
109108
Local $sBtn4 = _FA("clipboard", 1, "", "", 1, "fa-flip") & "clipboard"
110109
Local $sButtons = StringToBinary($sBtn1 & "|" & $sBtn2 & "|" & $sBtn3 & "|" & $sBtn4, 4)
111110

112-
; Call your compiled EXE
111+
; Call mdMsgBox()
113112
Local $iExitCode = mdMsgBox('mdMsgBox.exe /Title:"' & $sTitle & '" /Text:' & $sHexText & ' /Buttons:"' & $sButtons & '" /MaxWidth:500')
114113
ConsoleWrite("User clicked: " & $iExitCode & @CRLF)
115114
EndFunc ;==>_Example5

0 commit comments

Comments
 (0)