RosettaCodeData/Task/Call-a-foreign-language-function/AutoHotkey/call-a-foreign-language-function.ahk
Ingy döt Net 764da6cbbb CDE
2013-04-10 16:57:12 -07:00

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%.