taskbridgeapp.reminders.model.reminderscript.get_reminders_in_list_script

taskbridgeapp.reminders.model.reminderscript.get_reminders_in_list_script = 'on run argv\nset list_name to item 1 of argv\ntell application "Reminders"\n    set upcomingReminders to every reminder of list list_name whose completed is false\n    set fileContent to ""\n    repeat with currentRem in upcomingReminders\n        set rId to id of currentRem\n        set rName to name of currentRem\n        set rCreationDate to creation date of currentRem\n        set rBody to body of currentRem\n        set rCompleted to completed of currentRem\n        set rDueDate to due date of currentRem\n        set rAllDay to allday due date of currentRem\n        set rRemindMeDate to remind me date of currentRem\n        set rModificationDate to modification date of currentRem\n        set rCompletionDate to completion date of currentRem\n        set csvLine to rId & "|" & rName & "|" & rCreationDate & "|" & rCompleted & "|" & rDueDate & "|" & rAllDay & "|"\n        set csvLine to csvLine & rRemindMeDate & "|" & rModificationDate & "|" & rCompletionDate & "|" & rBody & linefeed\n        set fileContent to fileContent & csvLine\n    end repeat\nend tell\nset accessRef to (open for access file ((path to temporary items folder as text) & list_name & ".psv") with write permission)\n    try\n        set eof accessRef to 0\n        write fileContent to accessRef\n        close access accessRef\n        set save_location to POSIX path of (path to temporary items folder) as text\n        return save_location\n    on error errMsg\n        close access accessRef\n        log errMsg\n    end try\nend run'

Get the list of reminders in a reminder list.