Applescript

QSO logging software for the Mac
User avatar
LA0FA
Posts: 45
Joined: Tue 19. Feb 2013, 22:34
Location: Kjeller, near Oslo, JO59mx
Contact:

Applescript

Unread post by LA0FA »

RumLog 5.2.6 does not accept the logging from CocoaModem of the MFSK16 mode ... works will all other modes available from Cocoamodem, except MFSK16. I have ticked on MFSK16 as a mode in Rumlog preferences.
73 de LA0FA
User avatar
DL2RUM
Administrator
Posts: 2784
Joined: Mon 27. Aug 2007, 13:36
Location: JO40DF

Re: Applescript

Unread post by DL2RUM »

Yes, the AppleScript provided in the RUMlog folder dosen't support this modem. I have to add this. When somebody is familiar with AppleScript, he can do it himself.
I will add this soon when time allows. Currently I'm fighting with more annoying problems.
73 and best dx de Tom, DL2RUM
User avatar
LA0FA
Posts: 45
Joined: Tue 19. Feb 2013, 22:34
Location: Kjeller, near Oslo, JO59mx
Contact:

Re: Applescript

Unread post by LA0FA »

I was unclear.
I am familiar with Applescript and I have changed the script to include MFSK16 and I have verified that MFSK16 is sent as text string as mode to RumLog .. but Runlog won't log it. There must be a bug within the RumLog software.


Here the script I use, it works for all modes, except MFSK16:


tell application "cocoaModem 2.0"
set theCallsign to callsign of qso
set OpName to operator name of qso
set theMode to modemName

if the theMode = "psk modem" then
set theMode to modulation of transceiver 1 of psk modem
end if
if the theMode = "hellschreiber modem" then
set theMode to "hell"
end if
if the theMode = "mfsk modem" then
set theMode to "MFSK16"
end if
if the theMode = "rtty modem" then
set theMode to "rtty"
end if
if the theMode = "wideband rtty modem" then
set theMode to "rtty"
end if
if the theMode = "dual rtty modem" then
set theMode to "rtty"
end if


end tell

tell application "RUMlog"
Callsign theCallsign
Name OpName
Mode theMode

delay 2

Save

end tell
User avatar
DL2RUM
Administrator
Posts: 2784
Joined: Mon 27. Aug 2007, 13:36
Location: JO40DF

Re: Applescript

Unread post by DL2RUM »

Oh, very fine! This saves a lot of headaches for me. :-)
The mode was not transferred to the mode field. Without a mode, RUMlog will not save a QSO. When I made this routine, the MFSK interface was not included in cocoaModem.
I disabled the mode check now and the Applescript is responsible for the correct ADIF conform mode transfer!
Try this: http://dl2rum.de/rumsoft/RUMlogApp.zip
73 and best dx de Tom, DL2RUM
User avatar
LA0FA
Posts: 45
Joined: Tue 19. Feb 2013, 22:34
Location: Kjeller, near Oslo, JO59mx
Contact:

Re: Applescript

Unread post by LA0FA »

Thank you very much!
Works perfectly with the script.
Matthias, LA0FA
Locked