Anyone know how to close pop-up dialogs?
Specifically the one that pops up when sending money via mail?
Last time I had this problem was with completing quests with reward choices but I avoided the dialog by making the choice before completing the quest.
Now I don't think I can avoid the dialog.
Oh yeah, and it needs to be an in-game solution because with the mail open the cursor is in the 'To' edit box so there can be no rombot script to game communication. I'm doing a yrest in script while an in-game function does all the work.
Actually I can probably use ClearFocus() so that the rombot can communicate with the client again then use a mouse click but it would be better if it could be done with a function.
Any ideas would be appreciated.
Closing pop-up confirmation dialogs
Closing pop-up confirmation dialogs
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
- Administrator
- Site Admin
- Posts: 5353
- Joined: Sat Jan 05, 2008 4:21 pm
Re: Closing pop-up confirmation dialogs
It should be something like:
See the List of Frames for additional info.
Code: Select all
MailFrame:Hide();
Re: Closing pop-up confirmation dialogs
I assume that MailFrame is the main mail frame. I need to answer yes to the send money dialog.Administrator wrote:It should be something like:See the List of Frames for additional info.Code: Select all
MailFrame:Hide();
I'm guessing it's some OnClick event but I've got no idea how to identify the dialog or the yes button.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: Closing pop-up confirmation dialogs
Turns out the pop-up confirmation dialog belonged to UMM so I was able to bypass it. Also I disabled all the SetFocus commands in UMM so they wont interfere with rombot communications.
I was left with 1 problem.
After sending any mail the focus would get stuck somewhere (not in any visible edit box) and rombot would no longer be able to communicate with the client. I finally solved that one by placing at the end of the 'mail sent' function'.
So far testing looks good. Have to try it in a script now.
I was left with 1 problem.
After sending any mail the focus would get stuck somewhere (not in any visible edit box) and rombot would no longer be able to communicate with the client. I finally solved that one by placing
Code: Select all
GetKeyboardFocus():ClearFocus()So far testing looks good. Have to try it in a script now.
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan