Code Monkey home page Code Monkey logo

auto's Introduction

Auto

  • A tool that can replay our keyboard/mouse action.
  • 可以记录并回放全局键盘输入和鼠标事件的小工具(不完善)。

前言

本程序是基于Windows平台而构建的一个脚本程序,其制作过程很类似于制作某些小游戏外挂的过程,主要使用了Windows的一众API,如SetWindowsHookEx、PostMessage/SendMessage、WindowFromPoint等等。其中还涉及HANDLE(句柄),HOOK(钩子),Message队列等概念。

程序的编写思路

  1. 通过建立全局钩子(HOOK)记录键鼠消息

  2. 通过Windows API如PostMessage向目标窗口发送捕获到的消息

  3. 将捕获到的消息以表格的方式呈现

  4. 将消息储存在脚本文件中

程序界面

UI.jpg

auto's People

Contributors

lcizy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.