Relocate

|
Prompter
|
| User definable command line driven
Windows message box (msgbox) dialog utility with post selection command
calls. Allows for definable
command line execution based on user responses (or lack of). Great for use in batch
files or where ever you need to prompt AND trigger additional actions or
just notify a user. |
| |
Prompter is a Windows Message Box dialog utility that allows for quick and
easy user dialogs for use in batch scripts. All aspects of the dialog are
controlled via the command line call: Title, prompt, icon, modal state, buttons,
you can even define the command line based on what button is pressed and even
define a timeout in case the user doesn't reply within a defined timeframe!
Dialogs can be simple (like the example at bottom) or as big as you like.
Button options are [Y]es, [N]o, [C]ancel, [I]gnore, [R]etry, [O]K, [X] Close/timeout, and [A]bort. Dialogs
can also be modal by defining the Flag parameter accordingly. For more
information concerning flag options see AutoIT's
MSGBOX() function.
It's Windows-based, open source (GNU),
and solely written, maintained, hosted, and supported by me, Sean Shrum. Source code is written with
AutoIT (.au3) and the
most recent version can be found via the source link in the navbar above. If you're just looking for the latest binary build, it can be downloaded from
the binary link in the navbar above.
Just needed a front end for user interaction to allow for selectable batch
files calls. This was my quick way to create a msgbox-styled user
interface to prompt users.
Running Prompter directly without parameters will display the following
dialog with all the acceptable parameters that can be used:

Here is a sample call with parameters and result:
prompter.exe t="IPod Shuffle Detector" f=4 p="Your iPod Shuffle was
detected. Refill now?" y="K:\shuffle.bat" e=10
This command line will produce the following dialog:

If the user presses "Yes", the 'y=' parameter command line is run. Since
there is no 'n='
parameter defined, nothing happens if the user presses No. If the user
does nothing within 10 seconds ('e=10'), the dialog closes and nothing happens
(since no 'x=' param is defined).