Using an existing VDI file, this script will create a VM. The script is wrapped in a Platypus .app to allow the user to run it easily. This script does not require admin rights and should not be run as sudo!
Needs a lot of work
Unknown author. Don't know if it still works.
Uses app name without ".app". Poorly executed.
Poor first attempt.
Don't forget to send it an argument!
These scripts show examples of how to use AppleScript to prompt a user for input, either a Yes and No question or an open ended response.