How can I invoke the choice of the user, namely, the check box selected when clicking the button? In Applescript I would assign a variable to 'button returned'. Is there a similar way to do this on a macro?

How can I invoke the choice of the user, namely, the check box selected when clicking the button? In Applescript I would assign a variable to 'button returned'. Is there a similar way to do this on a macro?