type slash, query, accept
Macro evaluation is deterministic and local. It does not ask the AI model to calculate, convert, or generate the value.
complete macro families
Arithmetic
| /5+5= | 10 |
|---|---|
| /2^10= | 1024 |
| /(3+4)*5= | 35 |
| /100*15%= | 15 |
Units
| /10km->mi | Miles equivalent |
|---|---|
| /100f->c | Celsius equivalent |
| /5ft->m | Meters equivalent |
| /2lb->kg | Kilograms equivalent |
Currency
| /100usd->eur | Approximate EUR |
|---|---|
| /50gbp->jpy | Approximate JPY |
| /$25 to cad | Approximate CAD |
Date and time
| /today | Localized date |
|---|---|
| /next-fri | Next Friday |
| /+3d | Three days from now |
| /today(iso) | ISO date |
| /now(24h) | 24-hour time |
Random generators
| /random(1,6) | Number from 1 to 6 |
|---|---|
| /d20 | D20 roll |
| /coin | Heads or tails |
| /uuid | New UUID |
currency rates are approximate
Unit conversions use Apple Foundation Measurement locally. Date and time output follows the Mac's locale unless a format such as (iso) or (24h) is requested.
if a macro does not resolve
Confirm Inline Macros is enabled in Settings → General, type the slash at the beginning of the query, and test a known expression such as /5+5= in Notes. Unsupported or malformed queries remain ordinary text rather than inserting a guessed answer.
Check your accept-word shortcut if the preview appears but cannot be inserted.
related help
Cotabby Keyboard Shortcuts and Acceptance Modes
Accept one word or a whole suggestion, dismiss ghost text, and rebind every key.
Use Cotabby Inline Emoji Autocomplete
Search with a colon, accept inline, and personalize variants and ranking.
Customize Cotabby Writing and Context Settings
Length, languages, spelling, multiline output, Fast Mode, and optional context sources.