applescript

QSO logging software for the Mac
N3PPH
Posts: 28
Joined: Sat 20. Jul 2013, 16:30

applescript

Unread post by N3PPH »

Is there a list of applescript commands that Rumlog will accept? I am trying to get around uploading my fldigi log and looking at trying to directly interface with fldigi. I have the list of xml-rpc commands for fldigi ... all I can do is try :-)


73;
Bob N3PPH
User avatar
DL2RUM
Administrator
Posts: 2784
Joined: Mon 27. Aug 2007, 13:36
Location: JO40DF

Re: applescript

Unread post by DL2RUM »

You can use the AppleScript-Editor to get more information:
RUMlog Suite.png
What are your intentions? There is a direct import routine for fldigi files in RUMlog.
73 and best dx de Tom, DL2RUM
N3PPH
Posts: 28
Joined: Sat 20. Jul 2013, 16:30

Re: applescript

Unread post by N3PPH »

I know there is an import function and a log scanning function. For me the log scan takes too long, over 10,000 QSOs in my log. The import function works but it is a little cumbersome having to close telnet windows first. I was going to attempt using the info at http://www.w1hkj.com/FldigiHelp-3.21/xm ... ntrol.html to interact with Rumlog live. This is one of the teach myself as I go attempts. I did not realize applescript would do what you posted, I'll see what I can figure out. If I can get something working ?I will post it here as I know a few of us are fldigi users.


73
Bob N3PPH
N3PPH
Posts: 28
Joined: Sat 20. Jul 2013, 16:30

Re: applescript

Unread post by N3PPH »

I have managed to get a working script to log directly to Rumlog from fldigi.
first the script

Code: Select all

tell application "http://127.0.0.1:7362"
	set qsoCallsign to call xmlrpc {method name:"log.get_call"}
	set qsomode to call xmlrpc {method name:"modem.get_name"}
	set qsoReceivedRST to call xmlrpc {method name:"log.get_rst_in"}
	set qsoSentRST to call xmlrpc {method name:"log.get_rst_out"}
	
end tell

tell application "RUMlog"
	Callsign qsoCallsign
	Mode qsomode
	RxRprt qsoReceivedRST
	TxRprt qsoSentRST
	
	delay 2
	
	Save
	
end tell
I placed this in the fldigi scripts directory $HOME/.fldigi/scripts/fldigi.scpt
Then I call it with the macro

Code: Select all

<EXEC>osascript /Users/Bob/.fldigi/scripts/fldigi.scpt</EXEC>
It is not perfect, but it is a start for me.

73
Bob N3PPH
User avatar
DL2RUM
Administrator
Posts: 2784
Joined: Mon 27. Aug 2007, 13:36
Location: JO40DF

Re: applescript

Unread post by DL2RUM »

Fine Bob, I'm sure there are more users out there for that.
When yo need more commands, let me know.
73 and best dx de Tom, DL2RUM
Locked