- TouchPortal Message Key Press Plugin
- Description
- Change Log
- System Requirements
- Action
- Example
- Build Notes
- Dependencies
- Versioning
- Authors
- License
- Bugs/Enhancements
- Acknowledgements
Touch Portal's default "Write Text" action uses copy/paste functionality. This plugin adds the capability of actual keypresses of a set of text instead of the copy/paste method. Should be able to support multi-lingual characters as long as they are part of the unicode set.
v2.0.0 - Update to use Rust Binary
Updates: Instead of using a jar which required external Java, this uses a Rust binary to execute the typing which seems to work better
States: message_keypress_typing - True or False - will tell when the plugin is typing or not.
v1.0.0 - Initial Release
Actions:
- Type Keys from String - type out a string like if it was typed on a keyboard
States: None
Events: None
- Touch Portal
Only 1 action is provided from this plugin currently
- Type Keys from String
- Desc: Takes in a string (max 4000 characters will work) and will then start typing those characters like using a keyboard.
To utilize the new message_keypress_typing
state the "most efficient" way is something like the following button
The flow that is executed, types the message, and then calls another flow that does a wait, then repeat loop that checks the status of the message_keypress_typing
state, when the state is true, it will sleep for 1 millisecond and loop again, else it just allows the loop to complete (near instantaneous) and then allows the rest of the flow execution afterwards to complete. If you have questions about this, hit me up in the #message_keypress discord channel on the Touch Portal Official Discord.
Currently the rust binary is prebuilt in the src directory - working on getting that to be part of the "compile" phase so it's dynamic by OS type.
If you want to build this yourself, you will need to fork then clone the repo
run npm install
to pull in the dependencies
Run one of the following depending on your OS of choice. It will package the code into a binary, and drop a .tpp file into the Installers directory
Windows: run npm run build-win
Mac(Intel): coming soon
Mac(Arm64): coming soon
Linux: coming soon
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Jameson Allen - Initial work - Spdermn02
This project is licensed under the MIT license - see the LICENSE file for details
Use the Github Issues tab to report any bugs/enhancements for this plug-in. Or mention them in the Official Touch Portal discord channel #message-keypress
- Thank you to Reinier and Ty the Touch Portal Creators
- Thank you to
Gitago
for testing initially - Thank you to
Magicker
for additional testing - Thank you to
Der Apfelmann, Baby
for additional testing of the Rust based version