_menu() allowed users to include simple menus in their scripts.
eg
#include <menu.au3> $x = _menu(1,"choose a colour","red","blue","green") MsgBox(0,"","You chose - " & $x[1])
I have now added _msgbox()
The idea here is that sometimes you want to offer the user more options than the standard
MsgBox will allow - different / longer text on each of the buttons, 4 buttons rather than 3.
eg
#include <menu.au3> $x = _MsgBox("please choose","Carry on deleting these files?","Yes", "No","More options please") MsgBox(0,"","You clicked - " & $x)
To see examples of what can be done put menu.au3 into your #includes folder and then run Menu_UDF_test.au3
menu.au3 17.35K
288 downloads
Menu_UDF_test.au3 1.25K
246 downloads





