Count the QSOs of a Call Sign

Description

Provide this routine a call sign as text and the routine returns the count of the number of QSOs for that call sign in the MacLoggerDX database.

Code

set QSOcount to countQSOs(“K7DLX”)

on countQSOs(theCallSign as text)
tell application “MacLoggerDX”
count (every qso whose call is theCallSign)
end tell
end countQSOs