03-22-2013, 12:48 AM
Thanks for your quick reply. The object property state says "focusable", see image below. In the code below, the PRESSED condition is never met:
int w=win("Measurements" "#32770")
Acc b=acc("Measurements" "" w "#32770" "" 0x1001)
b.Focus
if b.State&STATE_SYSTEM_PRESSED
b.Mouse(1)
I can't figure out how the program keeps track of the button being down.
int w=win("Measurements" "#32770")
Acc b=acc("Measurements" "" w "#32770" "" 0x1001)
b.Focus
if b.State&STATE_SYSTEM_PRESSED
b.Mouse(1)
I can't figure out how the program keeps track of the button being down.
