public static void MouseMove(MouseHooker hooker, MouseMessages message, HookStruct str) { MouseCatcher m = MouseCatcherRef; m.Pattern.Actions.Add("WAIT " + m.GetElapsedTime()); m.Pattern.Actions.Add(str.pt.x + " " + str.pt.y); }
public static void RightClickUp(MouseHooker hook, MouseMessages message, HookStruct str) { MouseCatcher m = MouseCatcherRef; if (message == MouseMessages.WM_RBUTTONUP) m.Pattern.Actions.Add("RIGHT_CLICK_UP"); }
public static void LeftClickDown(MouseHooker hook, MouseMessages message, HookStruct str) { MouseCatcher m = MouseCatcherRef; if (message == MouseMessages.WM_LBUTTONDOWN) m.Pattern.Actions.Add("LEFT_CLICK_DOWN"); }