[WT-support] New LUA command: wtQso:GetData

Bob Wilson, N6TV n6tv at arrl.net
Sun Oct 27 06:58:30 CET 2013


This script shows the results of all the possible outputs.  Assign it to a
key, then put it on a QSO line and press the key.

if wtQso.GetData == nil then
   -- Windows MessageBox constants
   wtApp:AlertBox("This script requires WT 4.11 or higher.")
else
   qsoData = wtQso:GetData()
   local fields = {"time", "band", "mode", "freq", "callsign", "rstSent",
"serialSent",
   "rstReceived", "exchReceived", "miscInfoReceived", "miscInfo2Received"}
   local outline = ""
   for i,f in ipairs(fields) do
      outline = outline .. f .. "=" .. qsoData[f] .. "\n"
   end
   wtApp:AlertBox(outline)
end

73,
Bob, N6TV


On Sat, Oct 26, 2013 at 10:55 PM, R.S.Hradilek <radekl at att.net> wrote:

> > Has anyone successfully incorporated the new LUA command "wtQso:GetData"
> > into a script yet? (introduced version 4.11.0)
> >
> > I'm having a few problems getting it going and would like to share notes
> > with someone off-line, if possible please?
>
> Hmmm.
>
> It's 1:am here local, and I was just about to post a question to the
> same effect. We need an example which would illustrate the syntax for
> pulling qso data out of this array, the callsign for example. I
> assume it's just a couple lines of code.
>
> Roy -- AD5Q
> _______________________________________________
> Support mailing list
> support at win-test.com
> http://lists.f5mzn.org/cgi-bin/mailman/listinfo/support
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.f5mzn.org/pipermail/support/attachments/20131026/52371d2a/attachment.html>


More information about the Support mailing list