Jump to content

Recommended Posts

I was able to make the macro work through a saved macro in the game under the key and pressing the bot key. It doesn't work in other ways.

        robotManager.Helpful.Keyboard.DownKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle,
            System.Windows.Forms.Keys.Y);
        System.Threading.Thread.Sleep(1000);
        robotManager.Helpful.Keyboard.UpKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle,
            System.Windows.Forms.Keys.Y);

It's probably because it's protected if you run it via Macro - at least it needs a keypress.

You should use RunLua and remove the /run part of the macro, the rest after it is pure Lua anyway.

No need to put this in 2 steps either, the other part (again, no /run or /script needed) should just go at the end of your existing Lua code

5 hours ago, Matenia said:

It's probably because it's protected if you run it via Macro - at least it needs a keypress.

You should use RunLua and remove the /run part of the macro, the rest after it is pure Lua anyway.

No need to put this in 2 steps either, the other part (again, no /run or /script needed) should just go at the end of your existing Lua code

Thank you it works

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...