Prompter
Summary
This Automate script will execute the Prompter application. Prompter is a simple application designed to present a prompt on the desktop and optionally display a date and time picker. It supports any number of buttons, as well as optional header images and custom application icons.
Sample Run
This script is a function script and should not be manually executed. Utilize the script Prompter - Template to get a copy of all potential variables and paste the else section into any script that should use Prompter.
Dependencies
Variables
| Name | Description | 
|---|---|
| Message | Holds the desired message for Prompter. | 
| DateTimeSelector | Toggles a date/time selection in the Prompter pop-up (True or False). | 
| Icon | Holds the local path and file or URL to a desired pop-up icon. | 
| HeaderImage | Holds the local path and file or URL to a desired pop-up header image. This should be the name of the file in the /Transfer/App directory of the LTShare when @LTShareDownload@ is set to 1, e.g., header-image.jpg. | 
| Title | Holds the desired title text for the Prompter pop-up. | 
| Buttons | Holds the desired button options for the Prompter pop-up (space-separated values, quotes around multi-word buttons). | 
| Timeout | The duration of time you wish the Prompter pop-up to remain on the user's screen before auto-closing. | 
| PrompterResults | The user-returned results after executing Prompter. | 
| LTShareDownload | Use the LTShare to download Prompter and header images. Requires the Prompter.exe and desired header images to be in the /Transfer/App directory of the LTShare. | 
| TwelveHour | Changes the display of time in the Date/Time selector to 12-hour. | 
| Theme | Sets the theme for Prompter. If omitted, the theme will use the default Windows theme. Options are "Dark" and "Light". | 
| DateTimeFromHours | Stores the number of hours to add to the current time in order to set the starting point for the Date/Time selector. | 
| DateTimeToHours | Stores the number of hours to add to the initial time in the Date/Time selector in order to display the last available option to select. | 
| HTMLMessage | Set this to true to enable the HTML decoding of the message. | 
| UserInput | Set this to true to enable the user input field. | 
| userinputtext | Set initial/help text for the user input field. | 
| selectedButton | Button selected by the user. | 
| dateTimeSelection | Date and time selected by the user. | 
| userResponse | Input/feedback provided by the user in the user input field. | 
Output
- Script Variable