[WT-support] Automatic Run/S&P switching

Bob Wilson, N6TV n6tv at arrl.net
Tue Oct 17 22:33:09 CEST 2017


Thanks to G3WW for the test.  I forgot that logical constants such as
*false* have to be all lowercase in LUA.  Final corrected versions:

For Ctrl-Up and Ctrl-Down:

if wtQso:IsOperatingModeRun() then
  wtApp:SendCtrlKey("tab")
end
return 0

For Alt-F4:

if wtQso:IsOperatingModeRun() == false then
  wtApp:SendCtrlKey("tab")
end
return 0

73,
Bob, N6TV
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.f5mzn.org/pipermail/support/attachments/20171017/a3f92b79/attachment.html>


More information about the Support mailing list