10-09-2007, 02:44 PM
I think I've answered my own question:
Is this the normal way to do something like this? Or is there a better way? I notice the goto loop is consuming a lot of CPU cycles...
I was RTFM
and noticed the topic "Triggers: accessible object". I really don't understand Acc. And the Log Acc. Events function in QM seems too verbose (perhaps the reason for the filter?), making it hard to find items of interest. WinDowse seemed to be a perfect tool for exploring objects.
int hwnd=id(1023 w2)
;wait_while_play
if childtest(hwnd "Pause" "Button" w2)
,goto wait_while_play
if childtest(hwnd "Play" "Button" w2)
,mes("button says Play")Is this the normal way to do something like this? Or is there a better way? I notice the goto loop is consuming a lot of CPU cycles...
I was RTFM
and noticed the topic "Triggers: accessible object". I really don't understand Acc. And the Log Acc. Events function in QM seems too verbose (perhaps the reason for the filter?), making it hard to find items of interest. WinDowse seemed to be a perfect tool for exploring objects.
