A utility for automatically typing text.
To build the CLI only you can just build the Rust portion of the project
cargo build --releaseFor any API changes you need to re-generate the cbinding/autotyper.h header by doing
cd cbinding
cargo install --force cbindgen
cbindgen --config cbindgen.toml --crate cbinding --output autotyper.h
cd ..
cargo build --releaseOtherwise you can just build the static C library
cargo build --releaseThen you can build the app by opening auto-typer-macos in XCode and following these steps
Product->ArchiveDistribute App->Copy App->Next- Choose a directory to copy to
- Copy the app from the output directory to the
Applicationsdirectory System Settings->Privacy and Security->Accessibility->+- Find the auto-typer app in
Applications
The application is then ready to use.
Note the application cannot be used properly in a debug build through XCode because you need accessibility permitted for the app. You can use all features other than the keyboard shortcut.
cd cbinding
cargo build --release --lib
clang -framework CoreFoundation -framework CoreGraphics -L ../target/release -lautotyper test.c -o test.out
./test.outPress Ctrl+C to tidy up your prompt after the program finishes typing.