Question: Applescript to Use Voice to Capture a Number then assign to a variable
I have seen many examples where you can use applescript to listen for a response and then when hearing the specific response, such as Yes or No, then you can process based on that. Is there a way to have Speech listen for any value and then assign that value to a variable that I could use later in the script?
My example is:
Ask the end user for a number between 1 and 5,000
Based on the number they pick, let's just pop up a dialog box that says, the number you said was xxx where xxx is the value of what they said.