When talking to Sturobold and asking him to tranport me to somewhere, he asks me whether or not i realy want to spend some gold for getting to my destination and presents me a dialog where i can chose yes or no.
Easy thing when using my mouse, but how can i manage this dialog with the bot?
Thanx
Ric
How can i manage a yes/no dialog
Re: How can i manage a yes/no dialog
I don't know who Sturobold is but the game addon "Streamline" can auto pay some things.
If not, you probably need to deal with static popups. You probably need the following commands.
StaticPopup_Visible
StaticPopup_OnClick
The StaticPopup_Visible shows a bit of code you might need to make use of. Of course it would have to be converted to rombot code with RoMScripts and you might need to know the name of the popup frame.
Or you might be able to just use StaticPopup_OnClick.
If not, you probably need to deal with static popups. You probably need the following commands.
StaticPopup_Visible
StaticPopup_OnClick
The StaticPopup_Visible shows a bit of code you might need to make use of. Of course it would have to be converted to rombot code with RoMScripts and you might need to know the name of the popup frame.
Or you might be able to just use StaticPopup_OnClick.
- 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: How can i manage a yes/no dialog
Try this:
Code: Select all
RoMScript("OnClick_RequestDialogAccept()")
Re: How can i manage a yes/no dialog
it's for snoop, I'd say that is another language name for Snoop.
Remember no matter you do in life to always have a little fun while you are at it 
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: How can i manage a yes/no dialog
In that case Streamline should work.lisa wrote:it's for snoop, I'd say that is another language name for Snoop.
- 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: How can i manage a yes/no dialog
The function I posted above works for Snoop.rock5 wrote:In that case Streamline should work.lisa wrote:it's for snoop, I'd say that is another language name for Snoop.
Re: How can i manage a yes/no dialog
Yes, I am talking about this little dog, taking care of the transport gates.
I´ll try Alkaisers solution.
And maybe, coz I think its interessting, I will give a try to the two above mentioned functions. I had a quick look at them and their short description, but I could not get an idea of how to use them correct. I will check that out.
Thanx so far.
I´ll try Alkaisers solution.
And maybe, coz I think its interessting, I will give a try to the two above mentioned functions. I had a quick look at them and their short description, but I could not get an idea of how to use them correct. I will check that out.
Thanx so far.