Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/tevesmanuel/tpress
- Owner: TevesManuel
- License: mit
- Created: 2023-01-21T18:00:19.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-23T06:40:12.000Z (almost 2 years ago)
- Last Synced: 2024-09-29T12:23:16.356Z (about 2 months ago)
- Topics: c, cpp, go, keyboard, tpress, windows
- Language: Go
- Homepage:
- Size: 45.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
#includeint 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 mainimport TPress "github.com/TevesManuel/TPress/golang"
func main() {
TPress.TypeText("Hello world")
}
```