IfMsgBox

°¡Àå ÃÖ±Ù¿¡ MsgBox ¸í·É¾î°¡ ÀÛµ¿ ÁßÀÎ µ¿¾È ¾î´À ¹öÆ°À» »ç¿ëÀÚ°¡ ´­·¶´ÂÁö Á¡°ËÇÕ´Ï´Ù.

IfMsgBox, ButtonName

¸Å°³º¯¼ö

ButtonName

»ç¿ëÀÚ°¡ ´©¸¥ ¹öÆ°Àº ´ÙÀ½ ¹®ÀÚ¿­ Áß ÇϳªÀÔ´Ï´Ù:

Yes
No
OK
Cancel
Abort
Ignore
Retry
Continue [v1.0.44.08+]
TryAgain [v1.0.44.08+]
Timeout (Áï, MsgBox°¡ ½Ã°£Á¦ÇÑ¿¡ °É·È´Ù¸é ´Ü¾î "timeout"ÀÌ Á¸ÀçÇÕ´Ï´Ù.)

°ü·Ã Ç׸ñ

MsgBox

¿¹Á¦

MsgBox, 4, , °è¼ÓÇϽðڽÀ´Ï´Ù?, 5  ; 5-ÃÊ·Î ½Ã°£ Á¦ÇÑ.
IfMsgBox, No
    Return  ; »ç¿ëÀÚ°¡ "No" ¹öÆ°À» ´­·¶½À´Ï´Ù.
IfMsgBox, Timeout
    Return ; Áï, »ý·«Çϸé "No"¶ó°í °£ÁÖÇÕ´Ï´Ù.
; ±×·¸Áö ¾ÊÀ¸¸é, °è¼ÓÇÕ´Ï´Ù:
...