Giter Site home page Giter Site logo

ibahksendlib's Introduction

IbAhkSendLib

Languages: English, 简体中文
An AutoHotkey library that enables AHK to send keystrokes by drivers.

Supported Drivers

  • Logitech G HUB
    No Logitech hardware required.
    e.g. IbSendInit("Logitech")
  • Logitech Gaming Software
    No Logitech hardware required.
    e.g. IbSendInit("Logitech")
  • Razer Synapse 3
    No Razer hardware required, but it will be safer if you have one.
    e.g. IbSendInit("Razer")
  • DD Virtual Mouse & Virtual Keyboard
    May cause a blue screen; difficult to uninstall cleanly; need network.
    To use it, put the DLL (DD94687.64.dll/DD64.dll/DDHID64.dll) with your script file, and then:
    IbSendInit("DD")
    or specify the DLL path when call IbSendInit:
    IbSendInit("DD", 1, "C:\SomeDir\DD64.dll")

Example

AHK v2 AHK v1
; Run Notepad, type "Hello world!"
; and then select all text by mouse.

#Include "IbAhkSend.ahk"

IbSendInit()  ; IbSendInit("AnyDriver", 1)

Send("#r")
WinWaitActive("ahk_class #32770")
Send("notepad`n")

WinWaitActive("ahk_exe notepad.exe")
Send("Hello world{!}")
Sleep(100)
MouseClickDrag("Left", 5, 5, 150, 50)
; Run Notepad, type "Hello world!"
; and then select all text by mouse.

#Include %A_ScriptDir%

#Include IbAhkSend.ahk

IbSendInit() ; IbSendInit("AnyDriver", 1)

Send #r
WinWaitActive, ahk_class #32770
Send notepad`n

WinWaitActive, ahk_exe notepad.exe
Send Hello world{!}
Sleep 100
CoordMode, Mouse, Client
MouseClickDrag, Left, 5, 5, 150, 50

Downloading

Releases

See Also

For Developers

Building

  1. Put IbWinCppLib in C:\L\C++\packages (in other locations you need to modify the .vcxproj files).
  2. vcpkg
    set VCPKG_DEFAULT_TRIPLET=x64-windows-static-md
    vcpkg install detours rapidjson
    
    For Test project you also need:
    vcpkg install boost-test fmt
    
    Change VCPKG_DEFAULT_TRIPLET to x86-windows-static-md if you need x86 version.

ibahksendlib's People

Contributors

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