can you put that adapted to abot, pls?
i try to travel with abot, but
yield return RouteElementMarkerNext.ClickMenuEntryByRegexPattern(bot, "Jump through stargate");
doesn’t make the left click on jump.
thank you
Later:
Im dumbest, i found a method is not clean, but is working:
{
var MenuEntry =
memoryMeasurement?.Menu?.FirstOrDefault()
?.Entry?.FirstOrDefault(candidate => candidate.Text.RegexMatchSuccessIgnoreCase("dock|Jump through stargate"));
if (null != MenuEntry)
yield return new BotTask { Effects = new[] { MenuEntry.MouseClick(BotEngine.Motor.MouseButtonIdEnum.Left) } };
yield return new BotTask { Effects = new[] { RouteElementMarkerNext.MouseClick(BotEngine.Motor.MouseButtonIdEnum.Right) } };
}