AutoIt file: Dialogue.au3
_Sure, _Ok and _Try are wrappers of the AutoIt MsgBox function. They make your code easier to write and read, for instance:
If _Sure("Delete it?") Then DeleteIt()
instead of
If MsgBox($MB_YESNO+$MB_DEFBUTTON2+$MB_TOPMOST, "Delete it?") = $IDYES Then DeleteIt()
Besides, you can use _DialogueTitle to easily set the title of these, in fact all, dialogues and progress bars.
The library example shows examples of the dialogues.
| _DialogueTitle | Sets common title of all dialogues and progress bars |
| _Sure | Are you sure dialogue with a Yes and a No button |
| _Ok |
Ok message with an Ok button |
| _Try |
Try dialogue with a Try and a Cancel button |
| _MessageBox | Shows a message with maximum of 4 own buttons |
| _HideMessage |
Shows a message which can be hidden, hide message checkbox state
is returned |
| _Message |
Shows a message which can be hidden, hide message checkbox state
by passing reference to variable |
| _DownloadFile | Download file dialogue, downloads a file from given url |
| _OpenAudioPanel | Opens the Windows audio panel with the play back and record devices |