Navagating menus using button clicks

Hey, howdy and good afternoon. I am kinda new at this so bare with me. I am trying to navagate throuhg a menu using button clicks in a script. but every time I try it, it gives me a “NSReciverEvaluationScriptError: 4” error.
Just wondering if anyone can tell me how to actually get applescript to work with clicking on buttons and checking checkboxes.

Yo Pants:

I have done very little GUI scripting, but here is the place to start:

http://www.apple.com/applescript/uiscripting/index.html

There are some good tips on how to code menu navigation as well as a utility called uiinspector that will display the menu trees in the program you are running.

Hope this helps.

casdvm

thanks for the help

Flamingpants