Menu

Database

Peter Dziezyk

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->!

===============

Explained

Keyboard input pattern 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.
<span title="Press RIGHT_CTRL, release RIGHT_CTRL, H to run =dnaspider.exe===== strand: < strand: <h&#13;strand: *found*&#013;="=============="">
<e

RIGHT_CTRL E</h&#13;strand:>
->

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.
<span title="Press RIGHT_CTRL, release RIGHT_CTRL, X to run =dnaspider.exe===== strand: < strand: <x&#13;strand: *found*&#013;="=============="">
<x

RIGHT_CTRL X</x&#13;strand:>
:>

<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->.
## 🐱‍👤 Note
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, open the ribbon (CTRL + F1), and in the view tab, select the checkbox ✔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
 

👽dnaspider.exe


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.