Jump to content

Recommended Posts

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

 

 

 

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 by reapler
  On 9/17/2017 at 8:38 PM, Suspect said:

Hello @all,

this problem is resolved. Thanks for all your answers.

Kind regards

Suspect

Expand  

for those who come back to this thread in the future, can you tell us how you solved it ?

  • 3 years later...
  On 2/3/2021 at 9:21 PM, arcsun said:

I have a similar problem, wrobot is able to run /inv [name] but cannot use runmacrolua to run /uninvite [name] .

Expand  

It's Lua.RunMacroText("/uninvite " + playerName) or Lua.LuaDoString("RunMacroText('/uninvite " +playerName + "')")

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...