Hello,
Let me start by saying I'm beginner when it comes to AutoIT and I made this script from what I have learned in past two days. Basic idea is that script look for pop up with "yesno.png" if found it proceed to answer it by clicking Yes, folding chat window into accessible position and respond with "Hello". Script works just fine but I would like to improve it for best performance. Long time goal for me is to create simple MTGO bot that would buy cards. My only problem is that each loop overload CPU to 25% and cause fans to speed up - drives me crazy.
Any tips to improve performance or how to done it better would be appreciated.
/edit:
I forgot to add, sometimes when trade is canceled there is pop up with only OK button. That's why its looking for OkClick() if yesno is not found.
Script removed.
Let me start by saying I'm beginner when it comes to AutoIT and I made this script from what I have learned in past two days. Basic idea is that script look for pop up with "yesno.png" if found it proceed to answer it by clicking Yes, folding chat window into accessible position and respond with "Hello". Script works just fine but I would like to improve it for best performance. Long time goal for me is to create simple MTGO bot that would buy cards. My only problem is that each loop overload CPU to 25% and cause fans to speed up - drives me crazy.
![:)](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/smile.png)
/edit:
I forgot to add, sometimes when trade is canceled there is pop up with only OK button. That's why its looking for OkClick() if yesno is not found.
Script removed.