Suspect 0 Posted September 8, 2017 Share Posted September 8, 2017 Hello, i currently have a problem with the <QuestsSorted Action="RunMacroLua" NameClass="/click Button" /> in Quester. If i call it like that in my profile i get an addon error ingame. If i call it in WoW manually in the chat with /click Button i get no error. What is the difference between these two types? I am trying to click a button from an addon. I'm looking for a simple possibility to either run a macro ingame or just press a keyboard-button ingame. Kind regards Link to comment https://wrobot.eu/forums/topic/7028-difference-between-runmacrolua-and-ingame-chat/ Share on other sites More sharing options...
Droidz 2738 Posted September 9, 2017 Share Posted September 9, 2017 Hello, what is the error message? Link to comment https://wrobot.eu/forums/topic/7028-difference-between-runmacrolua-and-ingame-chat/#findComment-31854 Share on other sites More sharing options...
Moes 1 Posted September 13, 2017 Share Posted September 13, 2017 Quote interface action failed because of an addon That is the exact yellow error WoW gives in chatbox, same Problem here.. Link to comment https://wrobot.eu/forums/topic/7028-difference-between-runmacrolua-and-ingame-chat/#findComment-32009 Share on other sites More sharing options...
Suspect 0 Posted September 16, 2017 Author Share Posted September 16, 2017 Hello @Droidz, as already posted, thats the exact error from the addon. Kind regards Suspect Link to comment https://wrobot.eu/forums/topic/7028-difference-between-runmacrolua-and-ingame-chat/#findComment-32182 Share on other sites More sharing options...
Avvi 98 Posted September 16, 2017 Share Posted September 16, 2017 (edited) One thing you can try: wManager.Wow.Helpers.Lua.RunMacroText("/click MultiBarBottomLeftButton1"); The macro needs to be here: Edited September 16, 2017 by Avvi Suspect 1 Link to comment https://wrobot.eu/forums/topic/7028-difference-between-runmacrolua-and-ingame-chat/#findComment-32186 Share on other sites More sharing options...
reapler 154 Posted September 17, 2017 Share Posted September 17, 2017 (edited) Hello, you can try the following examples to either run a macro or using "Keyboard" class to press a button: Run wow macro(only work on tbc and above): open worldmap by click.xml Press button for 2 seconds: move forward by keyboard button press.xml Available keys to press: https://msdn.microsoft.com/en-us/library/system.windows.forms.keys(v=vs.71).aspx Edited September 17, 2017 by reapler Suspect 1 Link to comment https://wrobot.eu/forums/topic/7028-difference-between-runmacrolua-and-ingame-chat/#findComment-32238 Share on other sites More sharing options...
Suspect 0 Posted September 17, 2017 Author Share Posted September 17, 2017 Hello @all, this problem is resolved. Thanks for all your answers. Kind regards Suspect Link to comment https://wrobot.eu/forums/topic/7028-difference-between-runmacrolua-and-ingame-chat/#findComment-32246 Share on other sites More sharing options...
Avvi 98 Posted September 17, 2017 Share Posted September 17, 2017 2 hours ago, Suspect said: Hello @all, this problem is resolved. Thanks for all your answers. Kind regards Suspect for those who come back to this thread in the future, can you tell us how you solved it ? Link to comment https://wrobot.eu/forums/topic/7028-difference-between-runmacrolua-and-ingame-chat/#findComment-32249 Share on other sites More sharing options...
arcsun 0 Posted February 3, 2021 Share Posted February 3, 2021 I have a similar problem, wrobot is able to run /inv [name] but cannot use runmacrolua to run /uninvite [name] . Link to comment https://wrobot.eu/forums/topic/7028-difference-between-runmacrolua-and-ingame-chat/#findComment-61168 Share on other sites More sharing options...
Matenia 628 Posted February 4, 2021 Share Posted February 4, 2021 10 hours ago, arcsun said: I have a similar problem, wrobot is able to run /inv [name] but cannot use runmacrolua to run /uninvite [name] . It's Lua.RunMacroText("/uninvite " + playerName) or Lua.LuaDoString("RunMacroText('/uninvite " +playerName + "')") Link to comment https://wrobot.eu/forums/topic/7028-difference-between-runmacrolua-and-ingame-chat/#findComment-61171 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now