Laurent just made it a lot easier to access the 8th and 9th MK2R DVK messages from Win-Test, using a new LUA API found in the <a href="http://download.win-test.com/v4/nightly">development version</a>.  Just create 2 new LUA script files named DVK8.wts and DVK9.wts and assign them to F8 and F9 using Tools | Scripts Manager:<div>

<br></div><div>DVK8.wts:</div><div><br></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><span class="Apple-style-span" style="font-family: monospace; font-size: medium; white-space: pre-wrap; ">wtMicroham:Send("MP8")</span></div>

<div><font class="Apple-style-span" face="monospace"><span class="Apple-style-span" style="white-space: pre-wrap; font-size: medium;">return -1</span></font></div></blockquote><div><div><div><br></div><div>DVK9.wts:</div>

<div><br></div></div></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div><div><span class="Apple-style-span" style="font-family: monospace; font-size: medium; white-space: pre-wrap; ">wtMicroham:Send("MP9")</span></div>

</div></div><div><div><div><span class="Apple-style-span" style="font-family: monospace; font-size: medium; white-space: pre-wrap; ">return -1</span></div></div></div></blockquote><div><div><div><br></div><div>Then run WT_DEV.EXE instead of WT.EXE and press F8 or F9 to play DVK messages 8 and 9.</div>

<div><br></div><div>73,</div><div>Bob, N6TV<br><div class="gmail_quote">On Sat, Sep 4, 2010 at 6:44 PM, Bob Wilson, N6TV <span dir="ltr"><<a href="mailto:n6tv@arrl.net">n6tv@arrl.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im"><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">4. Currently I can send my own commands to MK2R+ only from scenarios. I would like to use DVK messages 8 and 9 with command $MK2R=<span class="il">MP8</span>. Is it possible to let the Other messages (ALT-C) to transmit those commands. </blockquote>


</div><div><br>Alt-C messages are ignored on SSB, so that will not work.  $MK2R only seems to work within scenarios.<br><br>Perhaps Win-Test could provide a new LUA API such as <br><br><div style="margin-left:40px">wtMK:Send(<i>string)</i>  -- send command string to microHAM control port<br>


</div> <br>In the mean time, I've created <a href="http://www.kkn.net/%7En6tv/PlayDVK8and9.zip" target="_blank">two LUA scripts</a> called PlayDVK8 and PlayDVK9 that will allow you to access these last two DVK messages.   Copy the two .wts files to your /Scripts directory (File | Explore | /scripts directory)<br>


<br>You will have to "borrow" the F6 and F7 messages from the advanced scenario, secondary radio column to do this, and they will have to be programmed in a special way, as you already figured out.<br><ol><li>Operating | Modify the Scenarios ...<br>


</li><li>Program the <b>Secondary</b> radio (second column)<br>F6: $TR2 $MK2R=<span class="il">MP8</span><br>F7: $TR2 $MK2R=MP9</li><li>Tools | Scripts manager<br>Assign PlayDVK8 to F8<br>Assign PlayDVK9 to F9<br>(Highlight the script, Press the Properties button, then Define, then F8 or F9, then OK)</li>


<li>Operating | Technique Advanced SO2R (must be checked)</li><li>Operating | Caps Lock Binds to the secondary radio (must be checked)<br></li></ol>The PlayDVK8 and 9 scripts briefly set focus to the secondary radio window (they press CapsLock for you), play the secondary radio scenario F6 or F7 on the <i>primary</i> radio (that's what $TR2 does), then they immediately restore focus to the primary radio window.<br>


<br>Of course now you have to be careful to avoid pressing F6 or F7 whenever you manually set focus to the secondary radio window.<br><br></div><div class="im"><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">


Using ByeByeCT I could generate 2 more SSB messages. WT guys, is this doable? Or any other place I could put this command other than scenarios F1-F7 and send to MK2R+?<br></blockquote></div><div><br>I suggest disabling ByeByeCT and assigning F8 and F9 to the two new LUA scripts, as suggested above.</div>

</blockquote></div><br></div></div></div>