예제 #1
0
        public void StartRecording()
        {
            recordScript = new StringBuilder();

            hook.RegisterKeyHook();
            hook.RegisterMouseHook();

            delayWatch.Start();
        }
예제 #2
0
        private static void HookSetting(UserInputHook hook)
        {
            hook.MouseHook     = LoggingMouseMacro;
            hook.KeyHook       = LoggingKeyMacro;
            hook.HookErrorProc = CommonUtil.HandleException;

            hook.RegisterKeyHook();
            hook.RegisterMouseHook();
        }