I've been trying a number of stuff Namely
AutoItSetOption("WinTitleMatchMode", 4)
WinActivate ( "Rhapsody")
;$var = ControlFocus("Rhapsody", "", "ClassNameNN=TEST_WIN32WND55")
;$var=ControlCommand("Rhapsody", "", "ClassName=TEST_WIN32WND55", "IsEnabled", "")
;$var = ControlFocus("Rhapsody", "", "ClassNameNN=TEST_WIN32WND85")
;$var = ControlClick("ClassNameNN=TEST_WIN32WND85")
;$var = ControlClick('ClassNameNN=TEST_WIN32WND85', "")
$var = ControlClick("Rhapsody", "", "ClassNameNN=TEST_WIN32WND85")
MsgBox(0, "Control Focus", $var)
;Returns 0 :(
;ControlCommand("Rhapsody", "", "ClassName=TEST_WIN32WND55", "EditPaste", 'Sum 41')
The problem is that I am unable to click on controls based on the ClassNameNN.
Am I doing this right? I tried looking in the help and forums. The help only infers that ClassNameNN can be used to identify a window. But there's nothing for it in controls. I want to be able to ControlFocus, ControlClick, Send and all the normal stuff.
But using the ClassName as an ID isn't working for me
BTW Thanks for your help it's much appreciated.