4 lines
248 B
AutoHotkey
4 lines
248 B
AutoHotkey
; Example: Calls the Windows API function "MessageBox" and report which button the user presses.
|
|
|
|
WhichButton := DllCall("MessageBox", "int", "0", "str", "Press Yes or No", "str", "Title of box", "int", 4)
|
|
MsgBox You pressed button #%WhichButton%.
|