[WT-support] N6TV esm.wts script

Bob Wilson, N6TV n6tv at arrl.net
Fri Sep 30 23:57:31 CEST 2011


Instead of modifying the ESM script, you could just add a #CTRLPLUS to the
S&P message to silently log the QSO after it sends the F2 or INSERT message.
 Make sure the CtrlPlus.zip script file is installed in your Scripts folder.
 Download CtrlPlus.zip from http://bit.ly/wtscripts and read the Readme
file.  On phone, you may have to add the call the #CTRLPLUS to your Advanced
SO2R Scenarios since you can't put it in messages.

It also looks like you coded a "Return 1;" instead of a "Return 0;".
 Returning 1 requests a callback to the script a second time, after the
keystroke is processed ("post key processing").  I don't think that is
required.

The other changes are not needed.

Just change
      else
         if (not wtQso:IsDupe()) then -- Call only if not dupe
            sendMyCall();
         end;
      end;
To
      else
         sendMyCall();
      end;

if you want want call dupes (don't know why you would).  Maybe what you
really want is for Enter to always send your callsign, even if the callsign
field is empty?  In that case, change sendQuestionMark(); to sendMyCall();

73,
Bob, N6TV

On Fri, Sep 30, 2011 at 2:33 PM, Bjorn LB1GB <lb1gb at la8w.com> wrote:

> Hi Bob,
>
> I've tried to change your ESM to behave like we want. I think I got it
> right, but would like you to proofread it, please.
>
> What we want is: when calling someone on the second radio(chasing mults);
>
> First: call the station even if it a dupe in log(written warning is
> there anyway)(don't ask :-))
> Second: when we come back with our exchange(we already established a
> contact) we log the QSO without the extra ENTER which is needed with
> your version.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.f5mzn.org/pipermail/support/attachments/20110930/554f59b8/attachment.html>


More information about the Support mailing list