Thanks I love Automator stuff but didn't know about that program. Have you seen the suggestions on this FAQ page?
Automator Virtual Input V3.0 Take control of the keyboard and mouse via Automator. I take it they were little help.
Which version of Automator are you using? There is an action in the current version called "Watch Me Do" that might be able to simulate mouse clicks well enough to meet your needs. It will record your actions as you perform them. I don't remember for sure but I think the window/dialog in question would always have to be in the same place for it to work properly.
The other thing to keep in mind about the "Watch Me Do" action is that the right program needs to be active when it is run. Let's suppose, for example, that you use "Watch Me Do" to record some mouse movements/clicks in iChat. Let's also suppose that you are working in Safari and try to execute the actions that you have just saved. Automator will try to execute the iChat-related actions you recorded in the Safari window. The secret is to put a step in the workflow that activates the appropriate application before the steps that were recorded are executed.
You've probably released that last bit already. It happened to me a few times before I figured out what happened.