07-25-2008, 07:00 AM
I think you have to do a Get* (i.e. location, name, value, role, state...) Then you'll be able to play around with the data...
for example:
Acc a=acc("Check" "CHECKBUTTON" win("Dialog" "#32770") "Button" "" 0x1001)
int state=a.State(0)
out state
If the check box is checked you get "16" when you out int state, unchecked you get 0.
I'm no expert at this stuff...but that's at least what I've figured out for tonight myself.
for example:
Acc a=acc("Check" "CHECKBUTTON" win("Dialog" "#32770") "Button" "" 0x1001)
int state=a.State(0)
out state
If the check box is checked you get "16" when you out int state, unchecked you get 0.
I'm no expert at this stuff...but that's at least what I've figured out for tonight myself.