Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tevesmanuel/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.
https://github.com/tevesmanuel/tpress

c cpp go keyboard tpress windows

Last synced: about 1 month ago
JSON representation

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.

Awesome Lists containing this project

README

        

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

``` C

#include
#include

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

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

```

or

``` Bash
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

``` Go
package main

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

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