Я пытаюсь перечислить все напоминания из приложения, в котором отсутствует срок выполнения, но я получаю вышеупомянутую ошибку. Любое тело знает, как проверить пропущенное значение в таком случае?
Вот код:
set remListOut to ""
set curDate to current date
tell application "Reminders"
activate
repeat with theRemList in remLists
tell list "@Call"
set remList to (every reminder whose due date is missing value)
repeat with theRem in remList
log (get properties of theRem)
set remListOut to remListOut & name of theRem & "
"
end repeat
end tell
end repeat
end tell
return remListOut