Appearance
Placeholders
Placeholders make a snippet more flexible. Instead of always the same text, a snippet can ask you for a name, offer you a choice, insert today's date or press keys for you.
You do not need to know any codes. Every placeholder is added the same way:
- Open the snippet (or click New snippet).
- Click into the Content field where the placeholder should go.
- In the Insert panel on the right, click the placeholder, for example Prompt.
- The panel now shows its settings. Fill them in and click Insert.


In the content field, every placeholder shows up as a highlighted label such as "Choice: Salutation (Mr, Ms)" or "Date". Hover over a label to see what it does.
To change a placeholder later: click its label. The panel on the right shows its settings. Change them and click Apply. Cancel leaves it as it was.
To delete a placeholder: click right behind its label and press Backspace. The label is deleted as a whole.


To see and edit the placeholders as text, tick Show formula above the content field. The text uses the script notation: %Name for prompts and variables, lines starting with # for conditions and choices. Every snippet opens with it turned off.
Prompt: ask when the snippet expands
A prompt asks you for a value each time the snippet expands, for example the name of the person you are writing to.
Step by step
- Click into the content where the value should appear.
- In the Insert panel, click Prompt.
- Under Name, enter what tippkraft should ask for, for example
Name. This is the label you will see in the small window later. - If the snippet should never go out without this value, tick Required.
- If only numbers or email addresses make sense, choose Number or Email address under Check.
- Click Insert. The label "Prompt: Name" appears in the content.
- Click Save.
Example: the snippet
Dear %Name,
thank you for your order.When you type the abbreviation, a small window appears and asks for "Name". You type "Ms Smith", press Enter, and the text appears with "Dear Ms Smith,".
Required fields and checks
With Required, tippkraft does not insert the snippet until the field is filled in. With a Check, the small window stays open and says what is wrong if the value does not fit.
| Written as | Meaning |
|---|---|
{%Name*} | required |
{%Amount: number} | must be a number, like 12 or 12.50 |
{%Email*: email} | required and must be an email address |
Choice: pick one of several options
A choice works like a prompt, but you pick from a list, for example "Mr", "Ms" or "Company". Each option can insert its own text.
Step by step
- Click into the content where the result should appear.
- In the Insert panel, click Choice.
- Under Name, enter what the choice is about, for example
Salutation. - Click Add option. A new row appears.
- In Name of the option, enter what you want to see in the list later, for example
Mr. - In the field below, enter what goes into the text when you pick this option, for example
Dear Mr. Leave it empty to insert the name of the option itself. - Repeat steps 4 to 6 for every option. You need at least 2 and can have up to 20. The × next to an option removes it.
- Optional: tick Default next to the option that is picked most often. It moves to the top of the list and is preselected when the snippet expands. Without a choice, the first option is the default.
- Click Insert. The label "Choice: Salutation (Mr, Ms, …)" appears at the cursor position in the content.
- Click Save. If the choice is still open in the panel, Save inserts it first.


An option with placeholders inside: the text of an option can contain prompts, dates, variables, other snippets and conditions.
- In the option, click + Insert above its text field.
- The panel now shows the insert list for this one option. The path at the top, for example "Insert › Choice › Insert", shows where you are.
- Click what you need, for example Prompt, fill it in and click Insert. You are back in the choice, and the prompt sits inside the option.
- To leave without inserting anything, click Cancel or click an earlier part of the path.


When the snippet expands, a small window shows the option names, with the default option first and preselected. Pick one and press Enter, or press Enter straight away to take the default. Prompts inside an option only show up once that option is picked.
Example: a letter that starts differently for people and companies:
#choice %Recipient
#option Mr
Dear Mr %Name,
#option Ms
Dear Ms %Name,
#option Company
Dear {>company-greeting}
#endThe choice is also a variable: %Recipient gives the name of the picked option, and conditions can check it.
Date
Step by step
- Click into the content where the date should appear.
- In the Insert panel, click Date.
- Pick how the date should look, for example "8 November 2026" or "2026-11-08". Default uses the usual format of your language.
- For another look, pick Custom format and type the format, for example
d MMMM yyyy. The preview below shows the result right away. - For a date in the future or past, enter a number under Shift and pick days, weeks, months or years under Unit (see below).
- Click Insert, then Save.
The letters in a custom format stand for:
| Letters | Result |
|---|---|
d / dd | day: 8 / 08 |
M / MM | month as a number: 11 / 11 |
MMM / MMMM | month name: Nov / November |
yy / yyyy | year: 26 / 2026 |
EEE / EEEE | weekday: Sun / Sunday |
HH:mm | time: 14:30 |
ww / w | calendar week: 05 / 5 |
DDD / D | day of the year: 031 / 31 |
Anything in single quotes stays as it is, for example 'week of' d MMMM.
Dates in the future or past
Under Shift you enter a number and under Unit you pick days, weeks, months or years. Use it for a payment deadline, for example 14 days. The panel shows the resulting date right away. A negative number goes back in time.
| Written as | Today 31 January 2026 gives |
|---|---|
{date +14} | 14 days later: 2026-02-14 |
{date +2w} | 2 weeks later |
{date -1m} | 1 month earlier |
{date +1y "d MMMM yyyy"} | 31 January 2027 |
A month later than 31 January is 28 February: tippkraft stays inside the month.
Random
Random picks one of several texts each time the snippet expands, without asking. Good for greetings that should not always sound the same.
Step by step
- Click into the content where the text should appear.
- In the Insert panel, click Random.
- Under Options, write one text per line, for example
Best regards,Kind regardsandCheers. You need at least 2. - Click Insert, then Save.
Written as: {random: Best regards | Kind regards | Cheers}
Clipboard
Clipboard inserts whatever you last copied.
Step by step
- Click into the content where the copied text should go.
- In the Insert panel, click Clipboard. It is inserted right away, there is nothing to set.
- Click Save.
Example: copy an order number, then use a snippet like Your order {clipboard} has been shipped.
Cursor
Cursor marks where the text cursor should be after the snippet expands. Useful for templates where you want to type something in the middle.
Step by step
- Click into the content where the cursor should end up.
- In the Insert panel, click Cursor. It is inserted right away.
- Click Save.
Each snippet can have one cursor mark. Once it is there, Cursor is greyed out in the panel.
Key
Key makes tippkraft press a key, for example Tab to jump to the next field in a form, or Enter.
Step by step
- Click into the content where the key should be pressed.
- In the Insert panel, click Key.
- Pick the key, for example Tab.
- Under Count, enter how often it should be pressed.
- Click Insert, then Save.
Example: an address snippet with a Tab between street and city fills in two fields of an online form in one go.
Variables
A variable remembers a value and puts it in again later, in the same snippet or in other snippets. Every prompt and every choice is also a variable with its own name.
Insert the value of a variable, step by step
- Click into the content where the value should appear.
- In the Insert panel, click Variable.
- Under Name, enter the name of the variable, for example
Customer. - Under What should happen?, choose Insert value.
- Click Insert, then Save.
Give a variable a new value, step by step
- Click into the content at the spot where the value should be set. Nothing is inserted there.
- In the Insert panel, click Variable and enter the Name.
- Under What should happen?, choose Set value.
- Under New value, enter the value. It can contain prompts, dates, other variables and snippets: click + Insert above the field to add them. The value is worked out each time the snippet expands.
- Click Insert, then Save.
Once you have typed "Ms Smith" for Customer, other snippets can insert that value without asking again. The next time a snippet asks for Customer, the field is already filled in.
A variable can change while you work. Put Set value inside an option of a choice or inside a condition, and the variable changes only when that option is picked or the condition is met.
| Written as | Meaning |
|---|---|
%Customer | insert the value of Customer |
#use %Customer | first line: take Customer from an earlier snippet without asking |
#set %City = London | set City to "London" |
#set %Customer = %First_name %Last_name | set Customer to what you type for both prompts |
Set Price depending on the picked plan:
#choice %Plan
#option Pro
#set %Price = 19
#option Free
#set %Price = 0
#endKeys like Tab inside a variable are stored as plain text.
Variables stay until you quit tippkraft on your computer. They are never saved to disk and never sent to tippkraft.com.
Conditions
A condition inserts one text if something is true and another text if it is not. Example: "Free shipping" if the amount is 100 or more, otherwise "Shipping 4.90".
The panel for a condition has three parts that read like a sentence: If what is checked comparison compare with. The grey line below them shows the whole sentence as you fill it in, for example "If »Amount« is greater than or equal to "100"". Under it you enter the text for "true" and for "otherwise".


Step by step, the short version
- Click into the content where the text should appear.
- In the Insert panel, click Condition.
- Under What is checked?, choose where the value comes from (see the three ways below).
- Under Comparison, choose how it is checked, for example is greater than or equal to.
- Under Compare with, enter the value to compare with, for example
100. - Check the grey sentence: does it say what you mean?
- Under If true, insert, enter the text for "true", and if you need it, under Otherwise insert (optional) the other text.
- Click Insert, then Save.
What is checked
The first part decides which value the condition looks at. There are three ways, and the panel changes depending on which one you pick:
| Choose | When | What you fill in |
|---|---|---|
| Existing prompt, choice or variable | the value is already in this snippet or was set by an earlier one | pick its name |
| New prompt | the value should be asked for, but only used for the decision, not inserted | a name |
| New choice | the answer is one of a few options and only decides which text follows | a name and the options |
Existing prompt, choice or variable
Use this when the snippet already asks for the value, for example a prompt "Amount", or when another snippet has set a variable.
- Under What is checked?, click Existing prompt, choice or variable.
- Under Starting value: value of, click the field and pick the name from the list, for example
Amount. The list contains every prompt, choice and variable in this snippet. - If the name is not in the list because an earlier snippet set it, type it into Or enter a name instead.
- Continue with Comparison and Compare with.
If the list says that the snippet has no prompt, choice or variable yet, add one first (for example a prompt), or use New prompt or New choice.
New prompt
Use this when the value should be asked for when the snippet expands, but should not appear in the text. Example: "Order amount?" decides whether "Free shipping" appears.
- Under What is checked?, click New prompt.
- Under Name, enter what should be asked for, for example
Amount. - Continue with Comparison and Compare with, for example is greater than or equal to and
100.
When the snippet expands, the small window asks for "Amount". The value itself is not inserted.
New choice
Use this when the answer is one of a few options and only decides which text follows. Example: "Private or company?" decides between "Hi" and "Dear Sir or Madam".
- Under What is checked?, click New choice.
- Under Name, enter the question, for example
Type. - Under Options, one per line, write the options, for example
PrivateandCompanyon two lines. - Under Comparison, choose equals.
- Under Compare with, choose Fixed value and enter one of the options exactly as written, for example
Company.
When the snippet expands, the small window offers "Private" and "Company". The picked option is not inserted, only the matching text.
Comparison
The comparison decides when the condition is true.
| Comparison | True when |
|---|---|
| is filled in | something was typed or picked |
| is empty | nothing was typed or picked |
| equals / does not equal | the value is (not) the same as the comparison value |
| contains / does not contain | the comparison value appears (does not appear) somewhere in the value |
| is greater than, is less than, is greater than or equal to, is less than or equal to | both are numbers and the comparison holds |
With is filled in and is empty there is nothing to compare with, so Compare with disappears.
Upper and lower case do not matter. Numbers are compared as numbers: 9 is less than 10, and 12.50 or 12,50 is greater than 12. "Greater" and "less" are never true for text that is not a number.
Compare with
The last part is what the value is compared with. Choose one of two ways:
A fixed value, step by step:
- Under Compare with, click Fixed value.
- Type the number or text, for example
100orCompany.
The value of a variable, step by step. Use this to compare two values of the same snippet, for example a price with a limit you set earlier:
- Under Compare with, click Value of a variable.
- Pick the name from the list, or type it into the field below if an earlier snippet set it.
If true, otherwise
- Under If true, insert, enter the text for the case that the condition is true.
- Under Otherwise insert (optional), enter the text for the other case. Leave it empty if nothing should appear then.
- To put a prompt, date, variable or snippet into one of these texts, click + Insert above its field. The panel shows the insert list for this field. The path at the top takes you back.
A condition inside a condition is possible, but no deeper: inside the inner condition, Condition is no longer offered.
Examples as they appear with Show formula:
| Written as | Meaning |
|---|---|
{if %Amount >= 100 then "Free shipping" else "Shipping 4.90"} | Amount is greater than or equal to 100 |
{if %Price > %Limit then "Needs approval"} | Price is greater than the variable Limit |
{if %Email contains @acme.com then "Hi colleague"} | Email contains @acme.com |
{if not %Company then "Dear customer"} | Company is empty |
#ask %Type: Private | Company, then {if %Type = Company then "Dear Sir or Madam" else "Hi"} | a new choice: asks "Private or Company", inserts only the matching greeting |
Longer texts, several checks and #else if go on lines of their own, see script notation.
Conditions, choices and variable blocks can be nested inside each other up to 5 levels. A condition can contain at most one further level of conditions.
If a prompt sits inside a condition that is not met, the small window hides that field. Example: with the lines #if %Company, Attn. %Contact and #end, the field "Contact" only shows up once you have typed a company.
TIP
Your computer needs tippkraft 0.1.20 or newer for is empty, contains, greater and less and for comparing with a variable, 0.1.18 or newer for choices with their own content and for Set value with content, 0.1.17 or newer for variables, conditions, random text and shifted dates. Older versions type them as plain text or take the Otherwise part. tippkraft tells you in the tray when an update is ready.
Combining snippets
A snippet can contain another snippet, for example your address in several sign-offs. Change the address once, and it changes everywhere.
Step by step
- Click into the content where the other snippet should go.
- In the Insert panel, look under Snippets. Type a few letters of its abbreviation or label into the search field to find it quickly.
- Click the snippet. A label "Snippet: …" appears in the content.
- Click Save.
The included snippet may include further snippets, up to 5 levels deep. tippkraft refuses to save a circle (A includes B, B includes A) and snippets that would get longer than 100,000 characters with everything included.