This script prompts the user to enter a value for a random draw from 1 to n. The resulting number is displayed in a second window. For instructional purposes this script utilizes two different methods for drawing a window, Dialog() and New Window().
Instructions: Run the script and enter a value. Click "OK" to draw a random number from 1 to the value entered.