09-16-2004, 07:21 PM
Ok I think I got it! You're a genius!!!!
I am just posting the codes for buttons 1-2. Let me know what you think
I have button1 - button10 labels. Is there another way to make it file smaller? Like loop through the buttons and check if state is "1048576," click the button?
Thank you so much!
I am just posting the codes for buttons 1-2. Let me know what you think
str z.getwintext(win("My Dialog Box "))
button1
Acc a=acc("" "CLIENT" z "AfxWnd42s" "" 0x1100 486 53); err goto button2
str a1=a.State()
if a1=1048576
a.Mouse(1)
goto endnow
button2
Acc b=acc("" "CLIENT" z "AfxWnd42s" "" 0x1100 628 90); err goto button3
str b1=b.State()
if b1=1048576
b.Mouse(1)
goto endnow
button3
end
I have button1 - button10 labels. Is there another way to make it file smaller? Like loop through the buttons and check if state is "1048576," click the button?
Thank you so much!