Button ready for pressing
Posted: Fri Apr 30, 2004 8:49 pm
This in in reply to the thread that was moved:
http://macroquest2.com/phpBB2/viewtopic.php?t=6544
Lax helped me to figure this one out.
For those of you who want to wait for the button to become available and then press it use .Enabled.
The combine button on the new Tradeskill window for example, to press it when it becomes available you would use:
You can use the same thing for the SearchButton, etc.
Hope this helps someone out :)
http://macroquest2.com/phpBB2/viewtopic.php?t=6544
Lax helped me to figure this one out.
For those of you who want to wait for the button to become available and then press it use .Enabled.
The combine button on the new Tradeskill window for example, to press it when it becomes available you would use:
Code: Select all
:Loop
/if (!${Window[TradeskillWnd].Child[CombineButton].Enabled}) /goto :Loop
/notify TradeskillWnd CombineButton leftmouseup You can use the same thing for the SearchButton, etc.
Hope this helps someone out :)