+ Script info

+ List of available parameters and their script set defaults (null'ed items unless specified get UNSET()):

+ Importing 'cats.ini' key => value pairs from all directories starting in [DOCUMENT_ROOT] thru /sean/code/prompter...

+ UNSET()'ing any parameters = 'null'....7 parameters removed

+ Current [PARAM]eters for this page (CATS.INI::[defaults] + URL-based parameters)

+ Current [KEYWORDS] for this page (CATS.INI / [keywords])

+ Retrieving templates...

+ Combining templates; [RECORD]set=>[TABLE]=>[BODY]=>[PAGE]<=NAV

+ Applying S&R on tokenized entries (parameter, _SERVER, keyword, and script)...shrum.net/sean/code/prompter
 
Wednesday, Feb 4th  2026 @ 19:01:41  
 
 
  
www . shrum.net /sean/code/prompter
All scripting, coding, html, layout, design, .... basically everything here done by yours truly. - S

  

  
 
 
x86 x64 news
 
filter
 clear search
 
 
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.
 

Introduction

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.


Background

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.


Usage

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

 
 
top

Page generation time = 0.0013/s
Page size (minus graphic elements) = 28kb

bookmark

feedback print

back

Since 1992 - shrum.net

Copyright 2026 Sean Shrum

 
 
CATS.PHP [C]ontent [A]cquisition and [T]emplating [S]cript v.4.14 [ 2025.12.14 ] by Sean Shrum