[Ham-Mac] Update to eQSL REXX script

w1hkj w1hkj at bellsouth.net
Wed Nov 9 21:38:50 EST 2011


http://www.w1hkj.com/usercontrib/

Contributed by Dave, AD2Q.
with additions by Dave, W1HKJ and Ben, G3XDH.

This REXX script, which runs on Linux or Windows and requires a REXX 
interpreter, enables fldigi to call the default web browser to upload  
QSO information to www.eqsl.cc.

This script has been tested on Windows using the "Regina" interpreter.

This script has been tested on Linux using the "Regina" rexx 
distribution and also ooRexx, an object oriented Rexx.

The functions of this script are unique to fldigi.

A separate data file contains the user's eqsl.cc ID and password.   If 
not found, the file will be created based on user input and the script 
will abort.

This file may be put in any directory where fldigi can access the  file.

The default location for the two files used or generated by this  script 
is defined by the variable 'home'.  The 'home' location may  be edited 
to suit the user.

It is recommended that you run this script from a command line the first 
time it used.  That will ease the creation of the data file.   You may 
create the data file separately using a text editor.  The  file name is 
eqsldata.txt and is located in

      C:\regina on Windows
      $HOME on Linux, BSD or OS X

The file contains two lines
      line 1: eQSL login callsign
      line 2: eQSL password

The Windows command in a fldigi macro is:
<EXEC>regina c:\regina\eqsl_fldigi.rex <FREQ> <CALL> <MODE> <IZDT> <RST> 
[message]</EXEC>

The Linux macro command is:
<EXEC>rexx <pathtofile>/eqsl_fldigi.rex <FREQ> <CALL> <MODE> <IZDT> 
<RST> [message]</EXEC>

The optional message field replaces the default message with the one on 
the command line:
<EXEC>regina c:\regina\eqsl_fldigi.rex <FREQ> <CALL> <MODE> <IZDT> <RST> 
Please qsl via eqsl.cc </EXEC>

This Windows command line lets one read the outfile, which is defined 
below.
<EXEC>notepad c:\regina\eqslfile.txt </EXEC>

If the call field is "TEST" or the script aborts, then the output is 
sent  to the outfile.

If no RST is defined in fldigi when this script is invoked, the RST_SENT 
field, which is optional, will not be sent to eQSL.cc.

If no argument is given, then the previous QSO information is sent:
<EXEC>regina c:\regina\eqsl_fldigi.rex</EXEC>

This script must be run while the QSO information is still showing at 
the top of the fldigi screen; otherwise the variables used in the macro 
command do not have values.  Either set fldigi to not clear the QSO 
information after logging or use this script before logging a QSO.

This script requires fldigi version 3.21.17 or later.  Earlier versions 
do not send the command line values with the EXEC function.

73, Dave, W1HKJ



More information about the Ham-Mac mailing list