Skip to content

Program CW function keys

TR4W retains the manual's separate message banks for running and search-and-pounce operation. The same function key can send a different message in each operating context.

  1. Select CW and open Settings → Program messages.
  2. Choose C for a CQ function key, E for an exchange/search-and-pounce function key, or O for other messages.
  3. Select the message to edit. Enter the transmitted content in Message and a useful button description in Caption.
  4. Open List of commands, select a command, and choose OK to insert it.
  5. Choose OK to apply the message. Test the key in the intended CQ or exchange context with the correct radio and CW sending backend. Function-key memories are captured in the contest database when the log closes; exit normally and reopen the practice log to check persistence. Do not edit the .db as though it were an old .cfg text file.

Alt+P opens the current message list. The screenshots show CW Open practice messages in TR4W 5.1.0 for Windows. CW Open exchanges a serial and name. In CWT, call CQ CWT and exchange your first name plus your CWops member number or, for non-members, your state, province, or DX country prefix.

Choose a CQ, exchange, or other message group

CW Open function-key message list with the CQ memory bank selected

Program message editor showing the CW Open CQ message on F1

Start with simple messages

Message text Meaning
CQ TEST \ \ CQ followed by your configured callsign twice.
@ 5NN # The entered callsign, a CW signal report, and the serial number selected by TR4W's serial-number logic. Use only for a contest whose exchange fits.
TU \ Thanks followed by your own callsign.

\ expands your configured callsign; @ expands the call being worked; # uses the serial-number logic, including configured leading zeros and abbreviated digits. These are executable message characters, so punctuation is not necessarily transmitted literally. A fixed-zone or section contest needs its actual exchange instead of the serial-number example.

Test each bank separately, including the exchange sent by the normal Enter workflow. Esc stops CW/automatic-CQ activity through the active sending path. Check the selected radio before testing a message that changes radio focus.

Message commands

Use braces around a command. The editor upgrades recognized commands saved with the old control-character bookends. A leading $ inside the braces directs a radio command to the inactive radio.

List of commands dialog for inserting commands into a function-key message

In a contest that sends a signal report and location, insert {ROVERQTH} after the report.

Program message editor with 5NN followed by the braced ROVERQTH command inserted from List of commands

Message text Effect
{SPEED+} Increase CW speed.
{ALT-D} Dupe check on radio 2.
{SPAN=+} / {$SPAN=+} Widen the panadapter on the active or inactive radio, respectively.
{ROVERCALL} / {ROVERQTH} Send the roving callsign or place.
{SPOTME} Request a self-spot.
PLS QSY {PASS B} Send a CW message with network station B's current frequency in kHz. A station name or band such as {PASS 14000} can also select a peer.
{LASTPASSEDFREQ} Send the last frequency resolved by {PASS …}, for example 14025R5 for 14,025.5 kHz.

If a required pass frequency cannot be resolved, TR4W displays the reason and skips sending the message. Check the radio and the SO2R workflow before testing a command that changes radio focus.

Source check

Earlier wiki SO2R tips and reference manual message concepts. Current chooser/editor: uProgramMessageForm, uEditMessageForm (SaveToConfig), and uMessagesListForm; expansions: trdos/logsend.pas; stopping: MainUnit.Escape_proc. These examples have been checked against code, not transmitted on a radio.