Skip to content

Templates and Macros

Vilmos Molnar edited this page Nov 23, 2026 · 1 revision

Templates and Macros

Templates put text, shapes and pictures on top of the picture you send, similar to MMSSTV templates. Open the editor with Templ → Edit.

Objects

  • Text: TrueType fonts, outline, shadow
  • Rectangle, ellipse, line
  • Picture: clicking a received picture in the gallery inserts it (for a reply picture); the Picture button inserts the latest received one.

Editing

action how
select click
move drag, or the arrow keys (1 pixel)
resize drag the blue corner (for text: font size); for a line the two end points
delete Del
leave Esc or Done

The toolbar has: text, font (< >), outline / shadow / fill, fill and line colour (Fill / Line), size, line width, opacity, layer order (Up / Down), copy and delete.

Reception keeps running in the background while you edit; its state is shown below the picture.

Macros

Macros in a text object are filled in at the moment of transmission:

macro meaning example
%M my callsign HG0MV
%C the other station (Call field of the log bar) HA5XYZ
%R RST (S field of the log bar) 595
%T UTC time 19:42
%D date 2026-11-23
%F frequency 14.230
%S SNR of the received picture 5 dB
%O mistuning of the received picture +39 Hz
%K the sender's sound card clock error +117 ppm
%Q the full signal report in one line SNR 5dB QRG +39Hz CLK +117ppm

%S %O %K %Q refer to the last received analog picture, or to the picture you are viewing from the gallery.

Managing templates

Type a name and Save (saving under a new name makes a copy), New, Delete tpl, < > to switch, Done saves and goes back.

Four templates are created on the first start: Call, CQ, QSO reply and Report (a QSO reply with the signal report). Templates are plain text files in ~/.config/sstvnext/templates/*.tpl.

Clone this wiki locally