Skip to content

Commit

Permalink
Add {LOGIT} macro.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbridak committed Dec 29, 2024
1 parent 4bb310d commit 7526c8e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Changelog

- [24-12-29] Add {LOGIT} macro.
- [24-12-15] Fixed Button focus policy in the bandmap window.
- [24-12-14] Changed method of detecting fldigi QSOs. See docs.
- [24-12-12] Add a try exception for a unicode decode error.
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ generated, 'cause I'm lazy, list of those who've submitted PR's.

## Recent Changes (Polishing the Turd)

- [24-12-29] Add {LOGIT} macro.
- [24-12-15] Fixed Button focus policy in the bandmap window.
- [24-12-14] Changed method of detecting fldigi QSOs. See docs.
- [24-12-12] Add a try exception for a unicode decode error.
Expand Down Expand Up @@ -657,6 +658,7 @@ You can include a limited set of substitution instructions.
| {SNT} | Sends 5nn (cw) or 599 (ssb) |
| {SENTNR} | Sends whats in the SentNR field. |
| {EXCH} | Sends what's in the Sent Exchange field when contest is defined. |
| {LOGIT} | Log the contact after macro pressed. |
| '#' | Sends serial number. |

### Macro use with voice
Expand Down
5 changes: 4 additions & 1 deletion not1mm/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1742,7 +1742,7 @@ def show_key_help(self) -> None:
"""

self.show_message_box(
"[CTRL-Esc]\tStops cwdaemon from sending Morse.\n"
"[ESC]\tStops cwdaemon from sending Morse.\n"
"[PgUp]\tIncreases the cw sending speed.\n"
"[PgDown]\tDecreases the cw sending speed.\n"
"[Arrow-Up] Jump to the next spot above the current VFO cursor\n"
Expand Down Expand Up @@ -2731,6 +2731,9 @@ def process_macro(self, macro: str) -> str:
macro = macro.replace(
"{EXCH}", self.contest_settings.get("SentExchange", "xxx")
)
if "{LOGIT}" in macro:
macro = macro.replace("{LOGIT}", "")
self.save_contact()
return macro

def ptt_on(self) -> None:
Expand Down
2 changes: 1 addition & 1 deletion not1mm/lib/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""It's the version"""

__version__ = "24.12.15"
__version__ = "24.12.29"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "not1mm"
version = "24.12.15"
version = "24.12.29"
description = "NOT1MM Logger"
readme = "README.md"
requires-python = ">=3.9"
Expand Down

0 comments on commit 7526c8e

Please sign in to comment.