Created
December 11, 2019 13:06
-
-
Save emisjerry/3cf3604999cbba22440fbadc7080de24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; 彈出選擇視窗,選擇後傳出ErrorLevel | |
#SingleInstance Force | |
; Y/N/Cancel=3, 問號圖示=32, 預設按鈕2=256. | |
; 3+32+256=291 | |
MsgBox, 291,, 是否繼續執行? (點擊 是 或 否) | |
IfMsgBox Yes | |
{ | |
;MsgBox You pressed Yes. | |
ExitApp, 1 | |
} | |
else IfMsgBox No | |
{ | |
;MsgBox You pressed No. | |
ExitApp, 2 | |
} | |
Else | |
{ | |
ExitApp, 3 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment