-
-
Notifications
You must be signed in to change notification settings - Fork 0
Database
On first launch when you press 1 to auto create database, dnaspider.exe creates a .txt file in c:/dna/ with the name db.txt containing these three lines code.
==db.txt=========
h-Hello
<e->Enjoy
<x:><bs><e->!
===============
Keyboard input pattern | Glue | Functionality (output) | Description |
---|---|---|---|
h H
|
- |
Hello |
1) Auto type the text Hello example To run, make sure the strand is clear then press H in a text area. Strand can be cleared by toggling BACKSPACE , RIGHT_CTRL , or press SHIFT + PAUSE_BREAK . |
<e RIGHT_CTRL E
|
-> |
Enjoy |
2) Example two To run, somewhere in a text area, press RIGHT_CTRL or COMMA + ESC which produces strand: < in dnaspider.exe. Now, press E . From there, dnaspider.exe iterates through db.txt looking for the pattern <e in the beginning of each line. When found, runs the proceeding functionality to the right of the minus sign which in this line is the text Enjoy . The - is used to auto backspace the amount of characters before it.The > after the minus sign is ignored. This example can also look like this: <e:><bs>Enjoy . Other similar examples: <e-Enjoy <e><bs>Enjoy <e:<bs>Enjoy . |
<x RIGHT_CTRL X
|
:> |
<bs><e->! |
3) Connect example Press RIGHT_CTRL or COMMA + ESC , release, then press X to run the functionality. Functionality starts with a backspace <bs> then proceeds to the <e-> which will pretty much do a search through db.txt for a matching <e-> in the beginning of one of the lines. If found, outputs that lines functionality/output. Once finished, continues to the ! then stops outputting.For the connect syntax, the input must start with < and end with :> or -> . Example: <x:> or <x-> . |
If database db.txt does not auto create it must be created manually otherwise delete the c:/dna folder and restart the program.
To manually 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. If for some reason you don't see the .txt extension then try this: Press WIN + E, in the Layout and view options, Show ✔File name extensions. Might have to maximize window first.
Each line in db.txt is for its own custom shortcut with custom functionality attached.
More info