To click a button in a window

subramani <[email protected]> Mon, 16 Jul 2007 22:13:36 +0530
Newsgroups gmane.comp.windows.autoit.user
Message-ID <[email protected]>
Hi all,

I have a window with a group of radio buttons and buttons named "OK"
and "Cancel". When I used AutoItWindowInfo to find the
class/instance/text of that "OK" button, it displays the info of that
window. For all buttons, and radio buttons, it displays the same
class/instance of that window. If I used,

send("{TAB}{ENTER}")

means I can click the "OK" button.

I used controlclick function as given below:
controlclick("title of the window", "",
"[CLASS:MozillaUIWindowClass;TEXT:OK;INSTANCE:2]")

Is there any other way to get the name of the button or click the button?

Thanks,
--- R * Subramani
My Log File : http://rsubramani.wordpress.com