<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Hi Bob</p>
<p>Thanks for getting back. Rather confused by your response I set
out to recreate this again - I believe I have found the reason for
what I found.</p>
<p>I think the $OPNAME macro has to be preceded by the associated
$LOGGEDCALL macro - WT uses the logged call-sign as the look-up
value in the .xdt file.</p>
<p>The 'error' use -case is this:</p>
<p>Assuming names file below is loaded in the Extras directory,
selected in Options|Data Files. I'm using a DXpedition file for
simplicity.<br>
</p>
<ul>
<li>In run mode type G0BNR in the logging line<br>
</li>
<li>press insert (Insert= $LOGGEDCALL $F2; F2= $OPNAME 5NN)</li>
<li>CW sent is as expected ('G0BNR Nigel 5NN')</li>
<li>Press Plus to log the QSO (Plus = TU $CR)</li>
</ul>
<ul>
<li>Switch to S&P mode</li>
<li>Type G0AJC (you've just tuned into his CQ)<br>
</li>
<li>Press F4 (F4=$MYCALL) to call him<br>
</li>
<li>When he comes back and gives his report, I press $F2 to send
his name and report</li>
<li>CW sends 'G0AJC Nigel 5NN' - i.e. the name of the last
$LOGGEDCALL sent, not the guy I am working.</li>
</ul>
<p>So this is working 'as designed' but sends an incorrect name in
the context - I believe this is because $LOGGEDCALL does not get
sent in this S&P scenario; the work-around is to add
$LOGGEDCALL to the S&P message.<br>
</p>
<p>Thanks</p>
<p>John G4IRN.<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 15/02/2019 18:18, Bob Wilson, N6TV
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAOmNKGLQ0+nz6o68f7so7tQY5pM-HAWXdxRZW-eVh5yGRr4uFg@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">I can't replicate this problem.
<div><br>
</div>
<div>Of course you have to type a callsign into the logging
window after switching to S&P mode, then press F2.
Perhaps you are typing the callsign, then switching to
S&P mode?</div>
<div><br clear="all">
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">73,
<div>Bob, N6TV</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Feb 15, 2019 at 9:50
AM John Warburton <<a href="mailto:qrz@dxdx.co.uk"
moz-do-not-send="true">qrz@dxdx.co.uk</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hi<br>
<br>
A friend has passed this to me, I've tested it and find the
same bug as <br>
him. I hope I'm not doing anything stupid!<br>
<br>
Create an .xdt file to define names with the $OPNAME
variable e.g.<br>
<br>
# VARIABLE $OPNAME<br>
G0AJC Giles<br>
G0AJJ Linda<br>
G0BBB Uri<br>
G0BBV Hedley<br>
G0BJK DAVE<br>
G0BNR Nigel<br>
<br>
Put $OPNAME in a RUN message and an S&P message e.g.<br>
<br>
Run/F2 = $OPNAME 5NN<br>
<br>
S&P/F2 = $OPNAME 5NN<br>
<br>
In RUN mode the name sends OK, switch to S&P and the
last name sent in <br>
RUN mode gets sent again, irrespective of the call-sign
logged.<br>
<br>
Thanks<br>
<br>
John G4IRN<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Support mailing list<br>
<a href="mailto:support@win-test.com" target="_blank"
moz-do-not-send="true">support@win-test.com</a><br>
<a
href="http://lists.f5mzn.org/cgi-bin/mailman/listinfo/support"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.f5mzn.org/cgi-bin/mailman/listinfo/support</a><br>
</blockquote>
</div>
</div>
</blockquote>
</body>
</html>