-
-
Notifications
You must be signed in to change notification settings - Fork 0
Database
Peter Dziezyk edited this page Aug 26, 2018
·
20 revisions
<h->Hello
<i:><bs><h->!
Database db.txt does not auto create and must be created manually.
To create db.txt, right click in c:/ drive, new folder named dna, and in the dna folder, right click, new, text document named db.txt.
Each line in db.txt is for its own custom shortcut.
| Custom Shortcut (input) | Functionality (output) | Description |
|---|---|---|
| <h-> | Hello | Basic example: Press ctrl <, release, then press h to run the proceeding functionality Hello. The - sign auto backspaces the amount of characters before it and marks the end of custom shortcut. Can also look like this: <h-Hello , <h><bs>Hello , <h:<bs>Hello, or <h:><bs>Hello
|
| <i:> | <bs><h->! | Connected example: Press ctrl <, release, then press i to run the functionality. Functionality starts with a backspace <bs> then <h-> pretty much searches db.txt for a matching <h-> in the beginning of a line and if found outputs that lines functionality/output and stops running when reaches ! at the end of line. |