Skip to content

TPress was made for simulating keyboard input on Windows systems. This simulate keyboard input, is very low level. There are C++ and Go bindings provided.

License

Notifications You must be signed in to change notification settings

TevesManuel/TPress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TPress

TPress was made for simulating keyboard input on Windows systems. This simulate keyboard input, is very low level. There are C++ and Go bindings provided.

An C/C++ example

#include <stdio.h>
#include <TPress.h>

int main()
{
    const char * text;
    
    printf("Escribe el texto a simular: ");
    scanf("%[^\n]%*c", text);
    TypeText(text);
    return 0;
}

And for golang do this

go mod init $(PROJECT_NAME)

go get github.com/TevesManuel/TPress/golang

in your workspace you need download libTPress.dll file, this is very important. You can do this with this commands

wget https://github.com/TevesManuel/TPress/raw/master/lib/libTPress.dll

or

curl https://github.com/TevesManuel/TPress/raw/master/lib/libTPress.dll

Or simply download libTPress.dll file on https://github.com/TevesManuel/TPress/blob/master/lib/libTPress.dll

You can use the library writing this in your go file

  package main

  import TPress "github.com/TevesManuel/TPress/golang"

  func main() {
    TPress.TypeText("Hello world")
  }

About

TPress was made for simulating keyboard input on Windows systems. This simulate keyboard input, is very low level. There are C++ and Go bindings provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published