Using the toolbar in TAMS Analyzer

Documentation for version 0.8.1

Starting with version 0.8 TAMS Analyzer (TA) has sported a traditional OSX toolbar. In TA the purpose of this has been to keep handy codes and text (including metacodes) that are used frequently, or that you simply want to have handy (visible and single-clickable)

To put a code on the toolbar click on the code in the code list on the left side of the document window and click the button marked "Code to toolbar" The code will be cropped at 10 characters, but you can see the whole code if you just float your mouse over the toolbar button. You can code text with this button (i.e., with this code) just by selecting the text and clicking this button once. Coding buttons are indicated by a question mark in braces: {?}

To put other text in the toolbar just select the text and pick "Turn selection into toolbar button" from the TAMS menu. Again, the text under the button will be cropped at 10 characters, but the whole text will appear if you float the mouse over the button. Clicking this button will replace whatever text is selected or if there is no selection, it will insert the text where the cursor is. This contrasts with the coding buttons which surround the selected text with the code in braces. Text buttons are indicated with an exclamation mark in braces: {!}.

To put a metacode in a toolbar button just type the text in (e.g. {!end}) and select it and pick "Turn selection into toolbar button" from the TAMS menu.

For a variety of practical reasons, TA does not remember your button bar from time to time or window to window. You can have the program automatically assemble a button bar for you however with the {!button ...} metatag, which should appear at the top of the document. 3 types of items can follow the word button in the tag, the name of a code (without quotes), a passage of text in quotes, and the vertical bar to indicate a separator. {!button page, date, author, title, |, "{!bookmark X}", "{!end}", |} for instance will automatically load a tool bar with buttons for coding text with the codes author, page and title, it will then put a vertical separator bar and create buttons for the !end and !bookmark metatags and then add an additional separator bar at the end.