Jump to content

Wrobot does't press keybind from " my macros" setting


Recommended Posts

Hello,

Prefer to add it to your fightclass, or use a plugin like :

using robotManager.Helpful;
using System.Threading;
using wManager.Wow.Helpers;

public class AutoPressKey : wManager.Plugin.IPlugin
{
    private bool _isRunning;

    public void Initialize()
    {
        _isRunning = true;
        PressKeyThread();
    }

    public void Dispose()
    {
        _isRunning = false;
    }

    private void PressKeyThread()
    {
        while (_isRunning)
        {
            if (Conditions.InGameAndConnected)
            {
                Keyboard.PressKey(wManager.Wow.Memory.WowMemory.Memory.WindowHandle, "1");
            } 
            Thread.Sleep(1000);
        }
    }

    public void Settings(){}
}

 

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