[DogParkList] SCRIPTS FOR COCOAMODEM?..

Don Agro dagro at dogparksoftware.com
Wed Jul 27 02:01:45 EDT 2005


Hi Jeff,

On 26-Jul-05, at 10:41 PM, Jeffrey M. Swiger wrote:

> I"m still in the TRY-IT stage here, but I think I have the script  
> right, but HOW do I get MLDX to see
> or import the CocoaModem Call/Etc.?...
> Does this have to be connected to the Radio?..

No, but you have to be running version 1.15 of cocoaModem.
<http://homepage.mac.com/chen/cocoaModem/current/Documentation/ 
WhatsNew/whatsnew.html>

I am not sure which script you are referring to - or which radio -  
but part of Richard's scripts deal with setting the radio and  
naturally you have to be connected to the radio for MLDX to be able  
to set it - but to get the call and frequency offset from cocoaModem  
into MLDX the radio doesn't have to be connected.

The script to do this part for any radio, not connected, would be...
(Just copy this into a new Script Editor window and save it)

-- ---------------------------------------------------
property qsoCall : ""
property pskOffset : 0.0
property logData : ""

tell application "cocoaModem"
     get qsoCall
     set myCallVariable to result
     set pskOffset to (pskTxAOffset as integer) * 1.0E-6
end tell

tell application "MacLoggerDX"
     activate
     -- clear all the data fields
     ClearLogFields
     -- look up the call
     LookUpCall with properties {name:myCallVariable}
     -- add record & look up data fields to the log
     set logData to {"PSK", (14.07 + pskOffset) as text, "", "",  
"599", "599"}
     make new record with data logData at the end
end tell
-- ---------------------------------------------------


73 Don Agro VE3VRW

D o g   P a r k   S o f t w a r e   L t d .

email: dagro at dogparksoftware.com
   www: http://www.dogparksoftware.com
     iChat AV:dogpark at mac.com



More information about the DogParkList mailing list