Display Dialog with Radio Buttons?

I’m writing an applescript to act as a simple launcher for a psychology experiment. Right now it starts with a display dialog that gets the user to input a subject number, then launches the correct file based on that subject number.

I’d like to make it do one more thing, in the same dialog window where the subject number is entered: have two radio buttons the user must select: Day 1 or Day 2, and then the script will launch a file from the Day 1 or Day 2 folder accordingly.

Is there a way to do this? Thanks very much.

To do specifically what you asked for, you would need to use AppleScript Studio or 24U Appearance OSAX.

However, you might be able to use something like this instead:

display dialog "Enter subject number:" default answer "" buttons {"Cancel", "Day 1", "Day 2"}
set {subjectNumber, theDay} to {text returned of result, (last character of (button returned of result))}

Hot diggity! That’ll do it!
You guys n gals here are the greatest.