Chapter 6. Toolmaker is vital

Toolmaker is probably the most important control of all, since it allows not only creating controls, but it is also an ideal "warehouse" where you can store huge amounts of codes or any other text data.
Toolmaker is available from:
Toolmaker menu > Make custom tools > Toolmaker
You can see button specification on the image below:


Each textbox is "served" by its own Paste button, Make button, Delete-contents-of-the-textbox button, and Copy-to-clipboard button. If there is a long text in the textbox, you can read it by scrolling with arrow keys of the keyboard and also using Page Up and Page Down buttons.
There is no any special button for saving text which you entered into the textbox, because the text will be automatically saved anyway, e.g. you can enter some text and close Toolmaker at once, and when you open it again, you will make sure that this text is still in the textbox. If you do not need this text, you can delete it by pressing "D" (delete) button.
There are 25 textboxes in the Toolmaker. If you wish to delete text from all of the textboxes at once, press the "Delete all" button.
You can copy text from one textbox into another by using "C" (copy) button (or right-clicking) and then pressing Paste button of a specific textbox.
Finally it should be mentioned that each textbox is an independent database able to keep a huge amount of text data, practically only limited by the memory of your computer. That's why it is an ideal "storage" place for text data.

Paste button

Paste button does not have any letters on it and reminds a narrow small bubble. Its role is to paste text from clipboard (buffer) into the adjacent textbox. First click in the textbox, and then press Paste button to paste a text from buffer. Please mind that if clipboard is empty (and there is some text already in the textbox) the text in this particular textbox will be deleted, similar to pressing D (i.e. delete) button.
Alternatively you can paste text by right-clicking in the needed textbox and choosing "Paste" from the pop-up menu.
Note. When you paste a line of text which is longer than the textbox, a "problem" may occur: the line "disappeared" from the textbox. Really it is just an illusion, because the line is in the textbox, but the cursor is behind the line. To see the line, you should return cursor to the beginning of the line by pressing and holding for several seconds left arrow key of your keyboard.
The same is true, when you paste multilane text into a textbox. This text may "disappear" from textbox. This is explained by the fact that when you paste a column of text, cursor will be under the column. Again use the left arrow key (pressing and keeping on) to return cursor to the beginning. You can use the Up arrow key of the keyboard as well.

"M" button

"M" button. This letter stands for "make", meaning "make a tool". The role of this button is absolutely the same as the role of Apply button which you know only too well from the previous chapters. Click in the needed place in the main Editor window, call Toolmaker, them press "M" button and the code from the Toolmaker's textbox will stick to the cursor in the main window. But the Toolmaker window will not close at that, it will remain open, and you can continue applying text from other textboxes! Important: if a textbox is keeping a multiline text, then only the upper (top) line will be applied!

"Make multiline tool" button

"Make multiline tool" button allows to apply text from all 25 textboxes as a list or a column.

"C" button

"C" (copy) button. Its role is to copy the contents of a textbox into clipboard. You can do the same by right-clicking. If it is a miltiline text, then right-clicking will allow you to copy even one particular line.

"Delete all" button

"Delete all" button. Its role is to clear all 25 textboxes of the text.

"D" button

"D" (delete) button. Its role is to delete the contents of one textbox.

"TM Help" button

"TM Help" button will call Toolmaker help file Chapter 6.

"Exit" button

"Exit" button. It will close Toolmaker, automatically saving all contents of the toolboxes, newly entered text including. There is no need for any particular additional button for saving text. When you open Toolmaker next time, you will make sure that textboxes are filled in with absolutely the same text which was there on closing!


Toolmaker is used in two modes: as a toolmaker and as a warehouse (for storage).

Mode 1. Tool making control

Toolmaker gives you a chance to enter (on your own) any piece of code (including functions of any complexity) into this control, then press "M" button - and this code will stick to the cursor position. This means you yourself are creating controls.
There are no codes entered into the Toolmaker by default, all textboxes are blank. Then, if you need it and when you need it, you enter (type in or paste) some code into Toolmaker, which will automatically remember your data and keep it until you decide to delete this. After the data is entered by you in a textbox, this tool is created and you can later call Toolmaker and apply the tool by pressing the "M" button. There are 25 toolboxes in Toolmaker, so you can make 25 tools.
If you enter in to a textbox a multilane text, then only the top line (i.e. the line visible in the textbox) will be applied, when "M" button is pressed. You can create a whole custom template for Web page and keep it in Toolmaker (you have 25 lines, its quite enough!), then you will be able to apply by pressing the "Make multiline tool" button to make the whole template jump to the position of cursor. Likewise, you could apply a vertical navigation bar etc.
When to use Toolmaker and what to put into it? Use it at once when you see that repetition of a piece of a code is occurring, any text of the repetitive nature: e.g. URLs (addresses) of websites, file paths, your favourite text, image formatting piece of code, paths of background images, your favourite color names and their hex codes, CSS codes, modules, repetitive hyperlinks, repetitive declaimers and headings, template, you name it. Everything repetitive must be kept in Toolmaker because its role is to accelerate the process of coding.

Example 1. Using Toolmaker (a single line insertion)

Example 1 explained:
Line 1. Developing this help file, it was noticed that an image code, featuring SVERDYSH-HTML illustrations, was being repeated very often. That's why this peace of code was placed into Toolmaker and from then on applied by clicking on the "M" button and, in the main area, a sequential illustration number was inserted.
Line 2. Developing this help file, it was noticed that a paragraph heading code, was being constantly repeated. For this reason the code was put into Toolmaker to be applied by clicking "M" button and, in the main area, a was inserted when it was necessary.
Line 3. Developing a Web page, it was needed to insert this URL many times. That's why this peace of code was placed into Toolmaker and from then on retrieved by pressing the "M" button.
Line 4. Developing a website this background image from "backgrounds" folder had to be used a lot of times. That's why this peace of code was placed into Toolmaker and from then on called to cursor position by hitting "M" button.

Example 2. Using Toolmaker (multiline insertion)

Mode 2. Storage of text data

Each textbox of the Toolmaker is just the tip of an iceberg of the independent database. So 25 textboxes are served by 25 databases! Each of the databases can contain a massive amount of information, practically only limited by the memory of your computer. That's why it is an ideal storage for texts of any kind, an excellent organiser, keeping them in one place. You can store here, for example, variants of a Web page codes, texts given to you by a client etc.
When you need to retrieve the stored data from this databases, just click the "C" (copy) button - and your data is in clipboard, ready to be pasted wherever you want to any other program (e.g. like MS Word editor etc). You can't retrieve multiline text by just pressing the "M" button, because in this case only the top line will be retrieved.
Essential. When data is stored, only top line is seen in the textbox. Make this line a meaningful heading, clearly stating what sort of data is being kept in this particular database. Add the word "Storage!" or "< !--Storage!-->" before the heading, specifying that this textbox is being used as a storage, and not in Mode 1 for keeping a line of text.
You can look through the multiline text, using the arrow , Page UP, Page Down keys of the keyboard. You can select and copy a particular line by right-clicking and selecting this line.
Such storage organiser is very practical when you have an appointment with your client. SVERDYSH-HTML is a small size program, which you can carry with you keeping even on the flash drive of the key ring. When the client passes you the text material for filling in the Web page, you put this data into the Toolmaker storage and having retrieved it, can demonstrate at once how the material will actually look on a page, agree upon the layout etc.
Example 3. Using Toolmaker for storage of data

Example 3 explained:
Each chapter of this help file is a separate html file. This example illustrates storing the sources of them in Toolmaker. Textboxes show only their headings. In order to look through the source, you should use keyboard arrow keys. If you hit "M" button, only headings will be sent to cursor position in the main Editor window. To retrieve the entire text, press "C" button and then paste (from clipboard) to a required place in the main Editor window.


Toolmaker, used both in Mode 1 and in Mode 2, is a vital control for sparing a lot of routine job, speeding up website development and raising productivity.

<--- To Contents