Just want one press hotkey plugin. To use with OrderBot like "press N,5,0,0,1,5,5,5,5,6," to craft some stuffs. And use retainer
Or someone say how work this code from MultiBot and i will try to make one .-. :
Thanks for any help.
Or someone say how work this code from MultiBot and i will try to make one .-. :
#region Keyboard change class.
[DllImport("user32.dll")]
public static extern IntPtr PostMessage(IntPtr hWnd, uint Msg, IntPtr wParam, IntPtr lParam);
public static void ChangeJob()
{
Navigator.Stop();
const uint WM_KEYDOWN = 0x100;
const uint WM_KEYUP = 0x0101;
PostMessage(Core.Memory.Process.MainWindowHandle, WM_KEYDOWN, (IntPtr)(Keys.D7), IntPtr.Zero);
PostMessage(Core.Memory.Process.MainWindowHandle, WM_KEYUP, (IntPtr)(Keys.D7), IntPtr.Zero);
Thread.Sleep(5000);
Logging.Write(Colors.Gold, "[MultiBot] Changing Job");
}
#endregion
Thanks for any help.